mirror of
https://github.com/django/django.git
synced 2025-08-03 10:34:04 +00:00
Updated release notes on app_label.
Django determines automatically which application models belong to, provided the application can be imported without importing models.
This commit is contained in:
parent
30a42a4fc3
commit
1386075f62
2 changed files with 2 additions and 5 deletions
|
@ -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.
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue