diff options
Diffstat (limited to 'docs/ref')
| -rw-r--r-- | docs/ref/migration-operations.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/ref/migration-operations.txt b/docs/ref/migration-operations.txt index e6e6f73a99..a977317a80 100644 --- a/docs/ref/migration-operations.txt +++ b/docs/ref/migration-operations.txt @@ -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; |
