How to use the crash.models.crash_upload_to function in crash

To help you get started, we’ve selected a few crash examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github Crystalnix / omaha-server / omaha_server / crash / migrations / 0013_auto_20150217_0927.py View on Github external
from django.db import models, migrations
import crash.models


class Migration(migrations.Migration):

    dependencies = [
        ('crash', '0012_auto_20150203_0919'),
    ]

    operations = [
        migrations.AlterField(
            model_name='crash',
            name='upload_file_minidump',
            field=models.FileField(max_length=255, null=True, upload_to=crash.models.crash_upload_to, blank=True),
            preserve_default=True,
        ),
github Crystalnix / omaha-server / omaha_server / crash / migrations / 0033_auto_20170814_0700.py View on Github external
class Migration(migrations.Migration):

    dependencies = [
        ('crash', '0032_auto_20170710_1113'),
    ]

    operations = [
        migrations.AlterField(
            model_name='crash',
            name='archive',
            field=models.FileField(blank=True, max_length=255, null=True, storage=django.core.files.storage.FileSystemStorage(), upload_to=crash.models.crash_archive_upload_to),
        ),
        migrations.AlterField(
            model_name='crash',
            name='upload_file_minidump',
            field=models.FileField(blank=True, max_length=255, null=True, storage=django.core.files.storage.FileSystemStorage(), upload_to=crash.models.crash_upload_to),
        ),
github Crystalnix / omaha-server / omaha_server / crash / migrations / 0034_auto_20170918_0418.py View on Github external
class Migration(migrations.Migration):

    dependencies = [
        ('crash', '0033_auto_20170814_0700'),
    ]

    operations = [
        migrations.AlterField(
            model_name='crash',
            name='archive',
            field=models.FileField(blank=True, max_length=255, null=True, upload_to=crash.models.crash_archive_upload_to),
        ),
        migrations.AlterField(
            model_name='crash',
            name='upload_file_minidump',
            field=models.FileField(blank=True, max_length=255, null=True, upload_to=crash.models.crash_upload_to),
        ),
github Crystalnix / omaha-server / omaha_server / crash / migrations / 0012_auto_20150203_0919.py View on Github external
dependencies = [
        ('crash', '0011_auto_20141226_0754'),
    ]

    operations = [
        migrations.AlterField(
            model_name='crash',
            name='archive',
            field=models.FileField(max_length=255, null=True, upload_to=crash.models.crash_archive_upload_to, blank=True),
            preserve_default=True,
        ),
        migrations.AlterField(
            model_name='crash',
            name='upload_file_minidump',
            field=models.FileField(max_length=255, upload_to=crash.models.crash_upload_to),
            preserve_default=True,
        ),