mirror of
https://github.com/django/django.git
synced 2025-08-04 02:48:35 +00:00
Updated some docs for the delayed deprecation of legacy table creation; refs #22340.
This commit is contained in:
parent
541310023d
commit
a2e3c96948
3 changed files with 11 additions and 6 deletions
|
@ -1312,10 +1312,11 @@ Custom SQL location for models package
|
|||
Previously, if models were organized in a package (``myapp/models/``) rather
|
||||
than simply ``myapp/models.py``, Django would look for :ref:`initial SQL data
|
||||
<initial-sql>` in ``myapp/models/sql/``. This bug has been fixed so that Django
|
||||
will search ``myapp/sql/`` as documented. After this issue was fixed, migrations
|
||||
were added which deprecates initial SQL data. Thus, while this change still
|
||||
exists, the deprecation is irrelevant as the entire feature will be removed in
|
||||
Django 1.9.
|
||||
will search ``myapp/sql/`` as documented. The old location will continue to
|
||||
work until Django 1.9. After this issue was fixed, migrations were added which
|
||||
deprecates initial SQL data. Thus, while this change still exists, the
|
||||
deprecation is somehwhat irrelevant as the entire feature will be removed in
|
||||
Django 2.0 when migrations become compulsory for all applications.
|
||||
|
||||
Reorganization of ``django.contrib.sites``
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue