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

    dependencies = [
        ('dps', '0020_auto_20181011_1357'),
    ]

    operations = [
        migrations.RenameField(
            model_name='batchitem',
            old_name='count',
            new_name='order',
        ),
        migrations.AlterField(
            model_name='batchset',
            name='bibid_field',
            field=maw_utils.SpaceCharField(
                default='BibID',
                help_text="Import file's BibID Field Name",
                max_length=255,
                verbose_name='BibID import field'),
        ),
        migrations.AlterField(
            model_name='batchset',
            name='vid_field',
            field=maw_utils.SpaceCharField(
                blank=True,
                default='VID',
                help_text=
                "Import file's field name for Volume ID (VID). If empty, value 00001 will be set for the VID value.",
                max_length=255,
                verbose_name='Volume ID import field'),
        ),
    ]
class Migration(migrations.Migration):

    dependencies = [
        ('dps', '0013_auto_20181009_1150'),
    ]

    operations = [
        migrations.AddField(
            model_name='batchset',
            name='bibid_field',
            field=maw_utils.SpaceCharField(
                default='BibID',
                help_text='BibID Spreadshet Field Name',
                max_length=255,
                verbose_name='BibID Field Name'),
        ),
        migrations.AddField(
            model_name='batchset',
            name='name',
            field=maw_utils.SpaceCharField(
                default='BibID',
                help_text='Up to 255 characters.',
                max_length=255,
                verbose_name='Optional Unique Batch Name'),
        ),
        migrations.AddField(
            model_name='batchset',
            name='notes',
            field=maw_utils.SpaceTextField(
                default='BibID',
                help_text='Notes about the imported batch of bib-vids.',
                max_length=255,
                verbose_name='Notes about the imported batch of bib-vids.'),
        ),
        migrations.AddField(
            model_name='batchset',
            name='vid_field',
            field=maw_utils.SpaceCharField(
                blank=True,
                default='VID',
                help_text=
                'If empty, VID 00001 will be the default database value.',
                max_length=255,
                verbose_name='Volume ID Field Name'),
        ),
        migrations.AlterField(
            model_name='batchset',
            name='import_filename',
            field=maw_utils.SpaceCharField(
                default='some_spreadsheet_name',
                help_text=
                'Filename containing a single spreadsheet to import as a named batch set of bib-vid items',
                max_length=255,
                verbose_name='Import Filename'),
        ),
    ]
Beispiel #3
0
class Migration(migrations.Migration):

    dependencies = [
        ('dps', '0030_auto_20181011_2042'),
    ]

    operations = [
        migrations.RemoveField(
            model_name='batchset',
            name='bibid',
        ),
        migrations.RemoveField(
            model_name='batchset',
            name='vid',
        ),
        migrations.AddField(
            model_name='batchset',
            name='import_bibfield',
            field=maw_utils.SpaceCharField(
                default='BibID',
                help_text="Import file's BibID Field Name",
                max_length=255,
                verbose_name='Import field with BibID'),
        ),
        migrations.AddField(
            model_name='batchset',
            name='import_vidfield',
            field=maw_utils.SpaceCharField(
                blank=True,
                default='VID',
                help_text=
                "Import file's field name for Volume ID (VID). If empty, value 00001 will be set for the VID value.",
                max_length=255,
                verbose_name='Import field with Volume ID'),
        ),
        migrations.AlterField(
            model_name='batchset',
            name='item_count',
            field=models.IntegerField(
                db_index=True,
                default=0,
                help_text='Count of import bibvid items from the import.',
                verbose_name='Item Count'),
        ),
        migrations.AlterField(
            model_name='batchset',
            name='name',
            field=maw_utils.SpaceCharField(
                db_index=True,
                default='',
                help_text='Up to 255 characters.',
                max_length=255,
                verbose_name='Custom Unique Batch Name'),
        ),
    ]
class Migration(migrations.Migration):

    dependencies = [
        ('dps', '0014_auto_20181009_1332'),
    ]

    operations = [
        migrations.AlterField(
            model_name='batchset',
            name='name',
            field=maw_utils.SpaceCharField(
                default='',
                help_text='Up to 255 characters.',
                max_length=255,
                verbose_name='Optional Unique Batch Name'),
        ),
        migrations.AlterField(
            model_name='batchset',
            name='notes',
            field=maw_utils.SpaceTextField(
                default='',
                help_text='Notes about the imported batch of bib-vids.',
                max_length=255,
                verbose_name='Notes about the imported batch of bib-vids.'),
        ),
    ]
class Migration(migrations.Migration):

    dependencies = [
        ('dps', '0006_auto_20181008_1445'),
    ]

    operations = [
        migrations.AlterField(
            model_name='batchitem',
            name='id',
            field=models.AutoField(auto_created=True,
                                   primary_key=True,
                                   serialize=False,
                                   verbose_name='ID'),
        ),
        migrations.AlterField(
            model_name='batchitem',
            name='vid',
            field=maw_utils.SpaceCharField(
                default='',
                help_text='Six digit characters with zeroes on the left. ',
                max_length=10,
                verbose_name='Volume ID'),
        ),
    ]
Beispiel #6
0
class Migration(migrations.Migration):

    dependencies = [
        ('dps', '0017_auto_20181009_1640'),
    ]

    operations = [
        migrations.AlterField(
            model_name='batchset',
            name='import_datetime',
            field=models.DateTimeField(auto_now=True, verbose_name='BatchSet Importing DateTime (UTC)'),
        ),
        migrations.AlterField(
            model_name='batchset',
            name='import_filename',
            field=maw_utils.SpaceCharField(db_index=True, default='', help_text='Up to 255 characters.', max_length=255, verbose_name='Optional Unique Batch Name'),
        ),

        #migrations.AlterField(
        #    model_name='batchset',
        #    name='import_user',
        #    field=models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to=settings.AUTH_USER_MODEL, unique=True),
        #),

        migrations.AlterField(
            model_name='batchset',
            name='notes',
            field=maw_utils.SpaceTextField(blank=True, default='', help_text='Optional Notes about the imported batch of bib-vids.', max_length=255, null=True, verbose_name='Notes about the imported batch of bib-vids.'),
        ),
    ]
Beispiel #7
0
class Migration(migrations.Migration):

    dependencies = [
        ('dps', '0015_auto_20181009_1335'),
    ]

    operations = [
        migrations.AddField(
            model_name='batchset',
            name='item_count',
            field=models.IntegerField(
                default=0,
                help_text='Count of import bibvid items from the spreadsheet.',
                verbose_name='Item Count'),
        ),
        migrations.AlterField(
            model_name='batchset',
            name='import_filename',
            field=maw_utils.SpaceCharField(
                default='some_spreadsheet_name',
                help_text=
                'Filename containing a single spreadsheet to import saved as tab-separated text file',
                max_length=255,
                verbose_name='Import Filename'),
        ),
        migrations.AlterField(
            model_name='batchset',
            name='name',
            field=maw_utils.SpaceCharField(
                db_index=True,
                default='',
                help_text='Up to 255 characters.',
                max_length=255,
                verbose_name='Optional Unique Batch Name'),
        ),
        migrations.AlterField(
            model_name='batchset',
            name='vid_field',
            field=maw_utils.SpaceCharField(
                blank=True,
                default='VID',
                help_text=
                'Spreadsheet Field name for Volume ID (VID). If empty, value 00001 will be set for the database VID value.',
                max_length=255,
                verbose_name='Volume ID Field Name'),
        ),
    ]
class Migration(migrations.Migration):

    dependencies = [
        ('dps', '0001_initial'),
    ]

    operations = [
        migrations.CreateModel(
            name='BibvidTerm',
            fields=[
                ('id', models.AutoField(primary_key=True, serialize=False)),
                ('mets_element', maw_utils.SpaceCharField(default='name', help_text='METS element that contains this term.', max_length=255)),
                ('name', maw_utils.SpaceCharField(default='name', help_text='If no parent, name of thesaurus, else the name for this narrower term under the broader parent.', max_length=255, verbose_name='Related term name')),
                ('bibvid', models.ForeignKey(help_text='The Bib_vid now using this termsuggested terms', on_delete=django.db.models.deletion.CASCADE, to='dps.Bibvid')),
            ],
        ),
    ]
Beispiel #9
0
class Migration(migrations.Migration):

    dependencies = [
        ('dps', '0008_auto_20181008_1604'),
    ]

    operations = [
        migrations.AddField(
            model_name='batchitem',
            name='name',
            field=maw_utils.SpaceCharField(
                default='',
                help_text=
                'Enter alphabetic characters followed by digit characters for a total of 10 characters.',
                max_length=10,
                verbose_name='Bibliographic ID'),
        ),
    ]
class Migration(migrations.Migration):

    dependencies = [
        ('dps', '0034_auto_20181012_1152'),
    ]

    operations = [
        migrations.AlterField(
            model_name='batchset',
            name='import_username',
            field=maw_utils.SpaceCharField(
                db_index=True,
                default='',
                help_text='Up to 255 characters.',
                max_length=255,
                verbose_name='User who did the import'),
        ),
    ]
Beispiel #11
0
class Migration(migrations.Migration):

    dependencies = [
        ('dps', '0031_auto_20181012_1019'),
    ]

    operations = [
        migrations.AlterField(
            model_name='batchset',
            name='import_vidfield',
            field=maw_utils.SpaceCharField(
                blank=True,
                default='VID',
                help_text=
                "Import file's field name for Volume ID (VID). If empty, value 00001 will be set for the VID value.",
                max_length=255,
                null=True,
                verbose_name='Import field with VID'),
        ),
    ]
class Migration(migrations.Migration):

    dependencies = [
        ('dps', '0033_auto_20181012_1149'),
    ]

    operations = [
        migrations.AlterField(
            model_name='batchset',
            name='name',
            field=maw_utils.SpaceCharField(
                blank=True,
                db_index=True,
                default='',
                help_text='Up to 255 characters.',
                max_length=255,
                null=True,
                verbose_name='Custom Unique Batch Name'),
        ),
    ]
Beispiel #13
0
class Migration(migrations.Migration):

    dependencies = [
        ('dps', '0018_auto_20181011_0934'),
    ]

    operations = [
        migrations.RemoveField(
            model_name='batchset',
            name='import_user',
        ),
        migrations.AddField(
            model_name='batchset',
            name='import_username',
            field=maw_utils.SpaceCharField(
                db_index=True,
                default='',
                help_text='Up to 255 characters.',
                max_length=255,
                verbose_name='Optional Unique Batch Name'),
        ),
    ]
Beispiel #14
0
class Migration(migrations.Migration):

    dependencies = [
        ('cuba_libro', '0025_auto_20180823_1807'),
    ]

    operations = [
        migrations.AlterField(
            model_name='item',
            name='agent',
            field=models.CharField(
                blank=True,
                choices=[('-', '-'), ('DUKE', 'Duke University'),
                         ('FIU', 'Florida International'), ('HVD', 'Harvard'),
                         ('NYP', 'New York Public'),
                         ('UF', 'University of Florida'),
                         ('UNC', 'U of North Carolina'),
                         ('UMI', 'University of Miami')],
                default='-',
                help_text='Partner who claimed to verify or edit this item.',
                max_length=50,
                verbose_name='Claimed'),
        ),
        migrations.AlterField(
            model_name='item',
            name='holding',
            field=maw_utils.SpaceCharField(
                blank=True,
                choices=[('NDD', 'Duke University'),
                         ('FXG', 'Florida International'), ('HLS', 'Harvard'),
                         ('NYP', 'New York Public'),
                         ('FUG', 'University of Florida'),
                         ('FQG', 'University of Miami'),
                         ('NOC', 'U of North Carolina')],
                default='',
                editable=False,
                max_length=255),
        ),
    ]
class Migration(migrations.Migration):

    dependencies = [
        ('cuba_libro', '0023_auto_20180821_1324'),
    ]

    operations = [
        migrations.AlterField(
            model_name='item',
            name='holding',
            field=maw_utils.SpaceCharField(
                blank=True,
                choices=[('FQG', 'University of Miami'),
                         ('FXG', 'Florida International'),
                         ('FUG', 'University of Florida'), ('HLS', 'Harvard'),
                         ('NDD', 'Duke University'),
                         ('NOC', 'U of North Carolina'),
                         ('NYP', 'New York Public')],
                default='',
                editable=False,
                max_length=255),
        ),
    ]
Beispiel #16
0
class Migration(migrations.Migration):

    dependencies = [
        ('dps', '0019_auto_20181011_0942'),
    ]

    operations = [
        migrations.AddField(
            model_name='batchitem',
            name='count',
            field=models.IntegerField(default=0),
        ),
        migrations.AlterField(
            model_name='batchset',
            name='bibid_field',
            field=maw_utils.SpaceCharField(
                default='BibID',
                help_text="Import file's BibID Field Name",
                max_length=255,
                verbose_name='BibID Field Name'),
        ),
        migrations.AlterField(
            model_name='batchset',
            name='import_datetime',
            field=models.DateTimeField(
                auto_now=True, verbose_name='Importing DateTime (UTC)'),
        ),
        migrations.AlterField(
            model_name='batchset',
            name='import_filename',
            field=maw_utils.SpaceCharField(db_index=True,
                                           default='',
                                           help_text='Up to 255 characters.',
                                           max_length=255,
                                           verbose_name='Imported File Name'),
        ),
        migrations.AlterField(
            model_name='batchset',
            name='import_username',
            field=maw_utils.SpaceCharField(
                db_index=True,
                default='',
                help_text='Up to 255 characters.',
                max_length=255,
                verbose_name='User who did the import.'),
        ),
        migrations.AlterField(
            model_name='batchset',
            name='item_count',
            field=models.IntegerField(
                default=0,
                help_text='Count of import bibvid items from the import.',
                verbose_name='Item Count'),
        ),
        migrations.AlterField(
            model_name='batchset',
            name='name',
            field=maw_utils.SpaceCharField(
                db_index=True,
                default='',
                help_text='Up to 255 characters.',
                max_length=255,
                verbose_name='Your Unique Batch Name'),
        ),
        migrations.AlterField(
            model_name='batchset',
            name='vid_field',
            field=maw_utils.SpaceCharField(
                blank=True,
                default='VID',
                help_text=
                "Import file's field name for Volume ID (VID). If empty, value 00001 will be set for the VID value.",
                max_length=255,
                verbose_name='Volume ID Field Name'),
        ),
    ]