Fixed work create and some security issues
This commit is contained in:
@@ -0,0 +1,33 @@
|
||||
# Generated by Django 3.2.7 on 2023-02-19 23:13
|
||||
|
||||
from django.db import migrations, models
|
||||
import django.db.models.deletion
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('library', '0011_section_page'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.RemoveField(
|
||||
model_name='orchestration',
|
||||
name='ensemble',
|
||||
),
|
||||
migrations.AddField(
|
||||
model_name='orchestration',
|
||||
name='collection',
|
||||
field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='custom_orchestrations', to='library.collection'),
|
||||
),
|
||||
migrations.AlterField(
|
||||
model_name='work',
|
||||
name='original_parts',
|
||||
field=models.JSONField(blank=True, default=dict, help_text='Original printed parts (IMSLP format)'),
|
||||
),
|
||||
migrations.AlterField(
|
||||
model_name='work',
|
||||
name='running_time',
|
||||
field=models.DurationField(blank=True, help_text='Running time in mm:ss format', null=True),
|
||||
),
|
||||
]
|
||||
Reference in New Issue
Block a user