Skip to content

Commit 8f038ea

Browse files
committed
rollback on mig
1 parent dcaff98 commit 8f038ea

File tree

1 file changed

+40
-42
lines changed

1 file changed

+40
-42
lines changed

mod_app/migrations/0028_visualwritteninfluences.py

+40-42
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
# Generated by Django 4.2.5 on 2024-11-12 09:52
22

3-
from django.db import migrations
3+
import ckeditor_uploader.fields
4+
from django.db import migrations, models
45

56

67
class Migration(migrations.Migration):
@@ -9,49 +10,46 @@ class Migration(migrations.Migration):
910
]
1011

1112
operations = [
12-
migrations.DeleteModel(
13+
migrations.CreateModel(
1314
name="VisualWrittenInfluences",
15+
fields=[
16+
(
17+
"id",
18+
models.BigAutoField(
19+
auto_created=True,
20+
primary_key=True,
21+
serialize=False,
22+
verbose_name="ID",
23+
),
24+
),
25+
("title", models.CharField(max_length=255)),
26+
(
27+
"films",
28+
models.ManyToManyField(
29+
blank=True, related_name="vwis", to="mod_app.film"
30+
),
31+
),
32+
(
33+
"content",
34+
ckeditor_uploader.fields.RichTextUploadingField(
35+
blank=True, help_text="Mentions are available here.", null=True
36+
),
37+
),
38+
(
39+
"bibliography",
40+
models.ManyToManyField(
41+
blank=True,
42+
help_text="This field updates on save, and some items may not be visible immediately",
43+
related_name="vwis",
44+
to="mod_app.bibliographyitem",
45+
),
46+
),
47+
],
48+
options={
49+
"verbose_name": "Visual and Written Influences",
50+
"verbose_name_plural": "Visual and Written Influences",
51+
},
1452
),
15-
# migrations.CreateModel(
16-
# name="VisualWrittenInfluences",
17-
# fields=[
18-
# (
19-
# "id",
20-
# models.BigAutoField(
21-
# auto_created=True,
22-
# primary_key=True,
23-
# serialize=False,
24-
# verbose_name="ID",
25-
# ),
26-
# ),
27-
# ("title", models.CharField(max_length=255)),
28-
# (
29-
# "films",
30-
# models.ManyToManyField(
31-
# blank=True, related_name="vwis", to="mod_app.film"
32-
# ),
33-
# ),
34-
# (
35-
# "content",
36-
# ckeditor_uploader.fields.RichTextUploadingField(
37-
# blank=True, help_text="Mentions are available here.", null=True
38-
# ),
39-
# ),
40-
# (
41-
# "bibliography",
42-
# models.ManyToManyField(
43-
# blank=True,
44-
# help_text="This field updates on save, and some items may not be visible immediately",
45-
# related_name="vwis",
46-
# to="mod_app.bibliographyitem",
47-
# ),
48-
# ),
49-
# ],
50-
# options={
51-
# "verbose_name": "Visual and Written Influences",
52-
# "verbose_name_plural": "Visual and Written Influences",
53-
# },
54-
# ),
5553
migrations.AlterModelOptions(
5654
name="feedback",
5755
options={

0 commit comments

Comments
 (0)