-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #137 from UCL-ARC/split-vwi
splitting vwis into vis and written
- Loading branch information
Showing
6 changed files
with
190 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,96 @@ | ||
# Generated by Django 4.2.5 on 2025-01-08 13:14 | ||
|
||
import ckeditor_uploader.fields | ||
from django.db import migrations, models | ||
|
||
|
||
class Migration(migrations.Migration): | ||
dependencies = [ | ||
("mod_app", "0030_add_films_to_vwi"), | ||
] | ||
|
||
operations = [ | ||
migrations.CreateModel( | ||
name="VisualInfluences", | ||
fields=[ | ||
( | ||
"id", | ||
models.BigAutoField( | ||
auto_created=True, | ||
primary_key=True, | ||
serialize=False, | ||
verbose_name="ID", | ||
), | ||
), | ||
("title", models.CharField(max_length=255)), | ||
( | ||
"content", | ||
ckeditor_uploader.fields.RichTextUploadingField( | ||
blank=True, help_text="Mentions are available here.", null=True | ||
), | ||
), | ||
( | ||
"bibliography", | ||
models.ManyToManyField( | ||
blank=True, | ||
help_text="This field updates on save, and some items may not be visible immediately", | ||
related_name="visual_influences", | ||
to="mod_app.bibliographyitem", | ||
), | ||
), | ||
( | ||
"films", | ||
models.ManyToManyField( | ||
blank=True, related_name="visual_influences", to="mod_app.film" | ||
), | ||
), | ||
], | ||
options={ | ||
"verbose_name": "Visual Influence", | ||
"verbose_name_plural": "Visual Influences", | ||
}, | ||
), | ||
migrations.CreateModel( | ||
name="WrittenInfluences", | ||
fields=[ | ||
( | ||
"id", | ||
models.BigAutoField( | ||
auto_created=True, | ||
primary_key=True, | ||
serialize=False, | ||
verbose_name="ID", | ||
), | ||
), | ||
("title", models.CharField(max_length=255)), | ||
( | ||
"content", | ||
ckeditor_uploader.fields.RichTextUploadingField( | ||
blank=True, help_text="Mentions are available here.", null=True | ||
), | ||
), | ||
( | ||
"bibliography", | ||
models.ManyToManyField( | ||
blank=True, | ||
help_text="This field updates on save, and some items may not be visible immediately", | ||
related_name="written_influences", | ||
to="mod_app.bibliographyitem", | ||
), | ||
), | ||
( | ||
"films", | ||
models.ManyToManyField( | ||
blank=True, related_name="written_influences", to="mod_app.film" | ||
), | ||
), | ||
], | ||
options={ | ||
"verbose_name": "Written Influence", | ||
"verbose_name_plural": "Written Influences", | ||
}, | ||
), | ||
migrations.DeleteModel( | ||
name="VisualWrittenInfluences", | ||
), | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters