Browse Source

Přidávám (si) poznámky o tom, jak se to bastlí :-)

pull/43/head
Pavel 'LEdoian' Turinsky 9 months ago
parent
commit
ae8040fb04
  1. 6
      split-apps-meta/dummy_migration.py
  2. 3
      split-apps-meta/pre.sh

6
split-apps-meta/dummy_migration.py

@ -0,0 +1,6 @@
from django.db import migrations
class Migration(migrations.Migration):
dependencies = [
('APP', 'MIGR'),
]
operations = []

3
split-apps-meta/pre.sh

@ -0,0 +1,3 @@
for app in whatever I want; do
./manage.py makemigrations --empty $app
vim seminar/migrations/whatever.py # add the other as depends.
Loading…
Cancel
Save