diff options
| author | Tim Graham <timograham@gmail.com> | 2017-03-31 19:10:58 -0400 |
|---|---|---|
| committer | Tim Graham <timograham@gmail.com> | 2017-04-01 14:43:29 -0400 |
| commit | 0a8dbd9c2f327bef462f04e3aea7e5100fcfe5af (patch) | |
| tree | aba59086ab1e2da4b24eb9d3c5b0cdf45131c784 /docs/ref | |
| parent | 523a8032c8fe3d962552249f8ba4f7c91830c9e3 (diff) | |
[1.11.x] Fixed #28004 -- Doc'd how to create migrations for an app without a migrations directory.
Backport of 7b53041420009ad430035116c25f36804e714cd5 from master
Diffstat (limited to 'docs/ref')
| -rw-r--r-- | docs/ref/django-admin.txt | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/docs/ref/django-admin.txt b/docs/ref/django-admin.txt index 39b8fe4f31..7209025263 100644 --- a/docs/ref/django-admin.txt +++ b/docs/ref/django-admin.txt @@ -678,6 +678,9 @@ Providing one or more app names as arguments will limit the migrations created to the app(s) specified and any dependencies needed (the table at the other end of a ``ForeignKey``, for example). +To add migrations to an app that doesn't have a ``migrations`` directory, run +``makemigrations`` with the app's ``app_label``. + .. django-admin-option:: --noinput, --no-input Suppresses all user prompts. If a suppressed prompt cannot be resolved |
