diff --git a/mod_app/migrations/0027_film_bfi_identifier.py b/mod_app/migrations/0027_film_bfi_identifier.py new file mode 100644 index 0000000..17b384c --- /dev/null +++ b/mod_app/migrations/0027_film_bfi_identifier.py @@ -0,0 +1,17 @@ +# Generated by Django 4.2.5 on 2024-11-11 11:39 + +from django.db import migrations, models + + +class Migration(migrations.Migration): + dependencies = [ + ("mod_app", "0026_alter_feedback_options_alter_projectnote_options"), + ] + + operations = [ + migrations.AddField( + model_name="film", + name="bfi_identifier", + field=models.CharField(blank=True, max_length=7, null=True), + ), + ] diff --git a/mod_app/models/film_model.py b/mod_app/models/film_model.py index dde018e..d576150 100644 --- a/mod_app/models/film_model.py +++ b/mod_app/models/film_model.py @@ -72,6 +72,8 @@ def get_absolute_url(self): max_length=100, blank=True, null=True ) # can use choices if preset + bfi_identifier = models.CharField(max_length=7, blank=True, null=True) + cast = models.TextField( blank=True, null=True,