1
0
mirror of https://github.com/django/django.git synced 2025-03-31 19:46:42 +00:00

Fixed #28004 -- Doc'd how to create migrations for an app without a migrations directory.

This commit is contained in:
Tim Graham 2017-03-31 19:10:58 -04:00
parent 0a13b249e2
commit 7b53041420

View File

@ -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 to the app(s) specified and any dependencies needed (the table at the other end
of a ``ForeignKey``, for example). 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 .. django-admin-option:: --noinput, --no-input
Suppresses all user prompts. If a suppressed prompt cannot be resolved Suppresses all user prompts. If a suppressed prompt cannot be resolved