Got collection links working and tested
This commit is contained in:
@@ -0,0 +1,25 @@
|
||||
# Generated by Django 3.2.7 on 2023-02-23 02:22
|
||||
|
||||
from django.db import migrations
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('library', '0012_auto_20230220_1013'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.AlterModelOptions(
|
||||
name='section',
|
||||
options={'ordering': ['doc', 'start', 'pk']},
|
||||
),
|
||||
migrations.RemoveField(
|
||||
model_name='section',
|
||||
name='ordinal',
|
||||
),
|
||||
migrations.RemoveField(
|
||||
model_name='section',
|
||||
name='type',
|
||||
),
|
||||
]
|
||||
@@ -0,0 +1,28 @@
|
||||
# Generated by Django 3.2.7 on 2023-02-23 03:22
|
||||
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('library', '0013_auto_20230223_1322'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.AddField(
|
||||
model_name='collection',
|
||||
name='nonce',
|
||||
field=models.SmallIntegerField(default=1, help_text='Increment this to reset the authentication links'),
|
||||
),
|
||||
migrations.AlterField(
|
||||
model_name='work',
|
||||
name='code',
|
||||
field=models.CharField(blank=True, help_text='Collection specific code or number. Will be auto-generated if not supplied', max_length=100),
|
||||
),
|
||||
migrations.AlterField(
|
||||
model_name='work',
|
||||
name='composer',
|
||||
field=models.CharField(default='Anon', help_text='Composer or compilation editor. Use <b>Surname, Initial</b> for easy searching', max_length=255),
|
||||
),
|
||||
]
|
||||
Reference in New Issue
Block a user