Skip to content

Commit 064779f

Browse files
committed
adding bfi identifier add BFI identifier - max 7 chars #125
1 parent 0a9682c commit 064779f

File tree

2 files changed

+19
-0
lines changed

2 files changed

+19
-0
lines changed
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
# Generated by Django 4.2.5 on 2024-11-11 11:39
2+
3+
from django.db import migrations, models
4+
5+
6+
class Migration(migrations.Migration):
7+
dependencies = [
8+
("mod_app", "0026_alter_feedback_options_alter_projectnote_options"),
9+
]
10+
11+
operations = [
12+
migrations.AddField(
13+
model_name="film",
14+
name="bfi_identifier",
15+
field=models.CharField(blank=True, max_length=7, null=True),
16+
),
17+
]

mod_app/models/film_model.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,8 @@ def get_absolute_url(self):
7272
max_length=100, blank=True, null=True
7373
) # can use choices if preset
7474

75+
bfi_identifier = models.CharField(max_length=7, blank=True, null=True)
76+
7577
cast = models.TextField(
7678
blank=True,
7779
null=True,

0 commit comments

Comments
 (0)