fnp
/
wolnelektury.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
deleted hover borders
[wolnelektury.git]
/
apps
/
infopages
/
migrations
/
0001_initial.py
diff --git
a/apps/infopages/migrations/0001_initial.py
b/apps/infopages/migrations/0001_initial.py
index
94ca2b3
..
a1289a2
100644
(file)
--- a/
apps/infopages/migrations/0001_initial.py
+++ b/
apps/infopages/migrations/0001_initial.py
@@
-50,8
+50,9
@@
class Migration(SchemaMigration):
('page_title_ru', self.gf('django.db.models.fields.CharField')(max_length=120, null=True, blank=True)),
))
('page_title_ru', self.gf('django.db.models.fields.CharField')(max_length=120, null=True, blank=True)),
))
- from django.core.management import call_command
- call_command("loaddata", "wl_data")
+ if not db.dry_run:
+ from django.core.management import call_command
+ call_command("loaddata", "wl_data")
db.send_create_signal('infopages', ['InfoPage'])
db.send_create_signal('infopages', ['InfoPage'])