Example #1
0
class Migration(migrations.Migration):

    dependencies = [
        ('corpus', '0050_text_config'),
    ]

    operations = [
        migrations.AlterField(
            model_name='text',
            name='cleaned_file',
            field=models.FileField(
                blank=True,
                default=None,
                help_text='This should a .txt file with ut8 encoding.',
                null=True,
                upload_to=corpus.models.upload_directory),
        ),
        migrations.AlterField(
            model_name='text',
            name='config',
            field=django.contrib.postgres.fields.jsonb.JSONField(
                blank=True,
                help_text=
                'A JSON object with any necessary configuration parameters.',
                null=True),
        ),
        migrations.AlterField(
            model_name='text',
            name='original_file',
            field=models.FileField(help_text='This can be any type of file.',
                                   upload_to=corpus.models.upload_directory),
        ),
        migrations.AlterField(
            model_name='text',
            name='source',
            field=models.ForeignKey(
                null=True,
                on_delete=django.db.models.deletion.SET_NULL,
                to='corpus.Source',
                verbose_name='source'),
        ),
    ]
class Migration(migrations.Migration):

    dependencies = [
        ('corpus', '0014_auto_20171003_0102'),
    ]

    operations = [
        migrations.AddField(
            model_name='recording',
            name='audio_file_aac',
            field=models.FileField(null=True,
                                   upload_to=corpus.models.upload_directory),
        ),
    ]
class Migration(migrations.Migration):

    dependencies = [
        ('corpus', '0027_auto_20180223_0328'),
    ]

    operations = [
        migrations.AddField(
            model_name='recording',
            name='audio_file_wav',
            field=models.FileField(blank=True,
                                   null=True,
                                   upload_to=corpus.models.upload_directory),
        ),
    ]
Example #4
0
class Migration(migrations.Migration):

    dependencies = [
        ('corpus', '0015_recording_audio_file_aac'),
    ]

    operations = [
        migrations.AlterField(
            model_name='recording',
            name='audio_file_aac',
            field=models.FileField(blank=True,
                                   null=True,
                                   upload_to=corpus.models.upload_directory),
        ),
    ]
class Migration(migrations.Migration):

    dependencies = [
        ('corpus', '0009_recording_sentence_text'),
    ]

    operations = [
        migrations.AddField(
            model_name='recording',
            name='duration',
            field=models.FloatField(blank=True, default=0, editable=False),
        ),
        migrations.AlterField(
            model_name='recording',
            name='audio_file',
            field=models.FileField(upload_to=corpus.models.upload_directory),
        ),
    ]