Skip to content

Commit

Permalink
Remove the load_data calls from the 0013 migration.
Browse files Browse the repository at this point in the history
It's Helsinki specific stuff and Parkkihubi's parkings app is aiming to be more general.
  • Loading branch information
amanpdyadav committed Dec 20, 2019
1 parent 09307a6 commit 2d4d8df
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions parkings/migrations/0013_parking_terminal_data.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,6 @@
from django.db import migrations


def load_parking_terminals_from_fixture(apps, schema_editor):
call_command('loaddata', 'parking_terminals',
verbosity=0)


def noop(apps, schema_editor):
pass

Expand All @@ -19,7 +14,5 @@ class Migration(migrations.Migration):
]

operations = [
migrations.RunPython(
code=load_parking_terminals_from_fixture,
reverse_code=noop),
migrations.RunPython(code=noop, reverse_code=noop),
]

0 comments on commit 2d4d8df

Please sign in to comment.