Skip to content

Commit

Permalink
Updated release notes on app_label.
Browse files Browse the repository at this point in the history
Django determines automatically which application models belong to,
provided the application can be imported without importing models.
  • Loading branch information
aaugustin committed Jan 1, 2014
1 parent 30a42a4 commit 1386075
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
4 changes: 2 additions & 2 deletions docs/ref/models/options.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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``
------------
Expand Down Expand Up @@ -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.

Expand Down
3 changes: 0 additions & 3 deletions docs/releases/1.7.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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.

Expand Down

0 comments on commit 1386075

Please sign in to comment.