diff options
| author | Tim Graham <timograham@gmail.com> | 2014-04-17 20:21:22 -0400 |
|---|---|---|
| committer | Tim Graham <timograham@gmail.com> | 2014-04-17 20:37:25 -0400 |
| commit | 22cbaea9c7f3eeeda4a8570278910f879449ddb9 (patch) | |
| tree | 53893d5cbffbd9a5e4fc19c2290783853dc3ef62 /docs/internals | |
| parent | 548acd77fd6356073ad4fa514c3d61f6589da43b (diff) | |
[1.7.x] Fixed #22444 -- Marked initial SQL/fixture loading as deprecated.
Thanks Karen Tracey for the report.
Backport of a4acb80463 from master
Diffstat (limited to 'docs/internals')
| -rw-r--r-- | docs/internals/deprecation.txt | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/docs/internals/deprecation.txt b/docs/internals/deprecation.txt index 893f44b3cd..d0bfc90e20 100644 --- a/docs/internals/deprecation.txt +++ b/docs/internals/deprecation.txt @@ -40,7 +40,8 @@ details on these changes. and all table/schema editing will be moved to be via ``SchemaEditor`` instead. * The legacy method of syncing apps without migrations will be removed, - and migrations will become compulsory for all apps. + and migrations will become compulsory for all apps. This includes automatic + loading of fixtures and support for initial SQL data. * All models will need to be defined inside an installed application or declare an explicit :attr:`~django.db.models.Options.app_label`. @@ -48,10 +49,6 @@ details on these changes. is loaded. In particular, it won't be possible to import models inside the root package of their application. -* If models are organized in a package, Django will no longer look for - :ref:`initial SQL data<initial-sql>` in ``myapp/models/sql/``. Move your - custom SQL files to ``myapp/sql/``. - * The model and form ``IPAddressField`` will be removed. * ``AppCommand.handle_app()`` will no longer be supported. |
