1
0
mirror of https://github.com/django/django.git synced 2025-10-23 21:59:11 +00:00

Removed unused imports in example migrations.

This commit is contained in:
Arkadiusz Adamski
2017-01-21 13:40:33 +01:00
committed by Tim Graham
parent 503e944ac7
commit a76d12ceb4
3 changed files with 4 additions and 4 deletions

View File

@@ -310,7 +310,7 @@ class in the migration file, and just pass it to ``RunPython``. Here's an
example of using ``RunPython`` to create some initial objects on a ``Country``
model::
from django.db import migrations, models
from django.db import migrations
def forwards_func(apps, schema_editor):
# We get the model from the versioned app registry;