summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorTim Graham <timograham@gmail.com>2017-03-31 19:10:58 -0400
committerTim Graham <timograham@gmail.com>2017-04-01 14:26:39 -0400
commit7b53041420009ad430035116c25f36804e714cd5 (patch)
treec4312245087226025ac99a85b2ad21d9aca1b847 /docs
parent0a13b249e2e0e901d795f4198a3a5dfd1fc49554 (diff)
Fixed #28004 -- Doc'd how to create migrations for an app without a migrations directory.
Diffstat (limited to 'docs')
-rw-r--r--docs/ref/django-admin.txt3
1 files changed, 3 insertions, 0 deletions
diff --git a/docs/ref/django-admin.txt b/docs/ref/django-admin.txt
index 883fb34f58..2265a17e05 100644
--- a/docs/ref/django-admin.txt
+++ b/docs/ref/django-admin.txt
@@ -671,6 +671,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