diff options
| author | Aymeric Augustin <aymeric.augustin@m4x.org> | 2014-01-01 19:44:39 +0100 |
|---|---|---|
| committer | Aymeric Augustin <aymeric.augustin@m4x.org> | 2014-01-01 19:45:43 +0100 |
| commit | 1386075f62dfdee4584e76e7d86dff72f5d3c7ed (patch) | |
| tree | f438ab73272ff2c4d18867bc2796340b207d502c | |
| parent | 30a42a4fc36edfad51f0e4f28e5c776434302d1c (diff) | |
Updated release notes on app_label.
Django determines automatically which application models belong to,
provided the application can be imported without importing models.
| -rw-r--r-- | docs/ref/models/options.txt | 4 | ||||
| -rw-r--r-- | docs/releases/1.7.txt | 3 |
2 files changed, 2 insertions, 5 deletions
diff --git a/docs/ref/models/options.txt b/docs/ref/models/options.txt index c1bf34ba86..ba07dfaeb9 100644 --- a/docs/ref/models/options.txt +++ b/docs/ref/models/options.txt @@ -33,7 +33,7 @@ Available ``Meta`` options .. versionadded:: 1.7 ``app_label`` is no longer required for models that are defined - in a ``models`` package within an app. + outside the ``models`` module of an application. ``db_table`` ------------ @@ -81,7 +81,7 @@ Django quotes column and table names behind the scenes. db_table = '"name_left_in_lowercase"' - Such quoted names can also be used with Django's other supported database + Such quoted names can also be used with Django's other supported database backends; except for Oracle, however, the quotes have no effect. See the :ref:`Oracle notes <oracle-notes>` for more details. diff --git a/docs/releases/1.7.txt b/docs/releases/1.7.txt index fced7a7508..2d040d92f9 100644 --- a/docs/releases/1.7.txt +++ b/docs/releases/1.7.txt @@ -466,9 +466,6 @@ Models ``Meta`` option allows you to customize (or disable) creation of the default add, change, and delete permissions. -* :attr:`~django.db.models.Options.app_label` is no longer required for models - that are defined in a ``models`` package within an app. - * Explicit :class:`~django.db.models.OneToOneField` for :ref:`multi-table-inheritance` are now discovered in abstract classes. |
