mirror of
https://github.com/django/django.git
synced 2025-11-02 21:03:53 +00:00
Removed unused imports in example migrations.
This commit is contained in:
parent
503e944ac7
commit
a76d12ceb4
3 changed files with 4 additions and 4 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue