fnp
/
wolnelektury.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Updates and fixes.
[wolnelektury.git]
/
src
/
contact
/
migrations
/
0001_initial.py
diff --git
a/src/contact/migrations/0001_initial.py
b/src/contact/migrations/0001_initial.py
index
1c0a565
..
216c4c5
100644
(file)
--- a/
src/contact/migrations/0001_initial.py
+++ b/
src/contact/migrations/0001_initial.py
@@
-1,7
+1,5
@@
-# -*- coding: utf-8 -*-
-from __future__ import unicode_literals
-
from django.db import migrations, models
from django.db import migrations, models
+import django.db.models.deletion
import jsonfield.fields
import jsonfield.fields
@@
-38,6
+36,6
@@
class Migration(migrations.Migration):
migrations.AddField(
model_name='attachment',
name='contact',
migrations.AddField(
model_name='attachment',
name='contact',
- field=models.ForeignKey(to='contact.Contact'),
+ field=models.ForeignKey(
on_delete=django.db.models.deletion.CASCADE,
to='contact.Contact'),
),
]
),
]