1
0
mirror of https://github.com/django/django.git synced 2025-10-24 06:06:09 +00:00

Fixed #25144 -- Allowed migrate to create tables for apps without migrations.

This commit is contained in:
Tim Graham
2015-08-31 10:33:52 -04:00
parent cf29b6b561
commit 721d8e50ac
3 changed files with 16 additions and 3 deletions

View File

@@ -753,6 +753,14 @@ option does not, however, check for matching database schema beyond matching
table names and so is only safe to use if you are confident that your existing
schema matches what is recorded in your initial migration.
.. django-admin-option:: --run-syncdb
.. versionadded:: 1.9
The ``--run-syncdb`` option allows creating tables for apps without migrations.
While this isn't recommended, the migrations framework is sometimes too slow
on large projects with hundreds of models.
.. deprecated:: 1.8
The ``--list`` option has been moved to the :djadmin:`showmigrations`