mirror of
https://github.com/django/django.git
synced 2025-04-16 13:24:38 +00:00
[1.11.x] Fixed #28004 -- Doc'd how to create migrations for an app without a migrations directory.
Backport of 7b53041420009ad430035116c25f36804e714cd5 from master
This commit is contained in:
parent
523a8032c8
commit
0a8dbd9c2f
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user