From 0a8dbd9c2f327bef462f04e3aea7e5100fcfe5af Mon Sep 17 00:00:00 2001 From: Tim Graham Date: Fri, 31 Mar 2017 19:10:58 -0400 Subject: [1.11.x] Fixed #28004 -- Doc'd how to create migrations for an app without a migrations directory. Backport of 7b53041420009ad430035116c25f36804e714cd5 from master --- docs/ref/django-admin.txt | 3 +++ 1 file changed, 3 insertions(+) (limited to 'docs') 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 -- cgit v1.3