mirror of
https://github.com/django/django.git
synced 2025-11-07 07:15:35 +00:00
Updated some docs for the delayed deprecation of legacy table creation; refs #22340.
This commit is contained in:
@@ -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``
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
Reference in New Issue
Block a user