mirror of
https://github.com/django/django.git
synced 2025-08-03 18:38:50 +00:00
Updated a few doc paragraphs following the app-loading refactor.
This commit is contained in:
parent
f326720a73
commit
9b8192ce51
3 changed files with 17 additions and 19 deletions
|
@ -1285,18 +1285,17 @@ INSTALLED_APPS
|
|||
|
||||
Default: ``()`` (Empty tuple)
|
||||
|
||||
A tuple of strings designating all applications that are enabled in this Django
|
||||
installation. Each string should be a full Python path to a Python package that
|
||||
contains a Django application, as created by :djadmin:`django-admin.py startapp
|
||||
<startapp>`.
|
||||
A tuple of strings designating all applications that are enabled in this
|
||||
Django installation. Each string should be a full Python path to an
|
||||
application configuration class or to a Python package containing a
|
||||
application. :ref:` Learn more about applications </ref/applications>`.
|
||||
|
||||
.. admonition:: App names must be unique
|
||||
.. admonition:: Application labels must be unique
|
||||
|
||||
The application names (that is, the final dotted part of the
|
||||
path to the module containing ``models.py``) defined in
|
||||
:setting:`INSTALLED_APPS` *must* be unique. For example, you can't
|
||||
include both ``django.contrib.auth`` and ``myproject.auth`` in
|
||||
INSTALLED_APPS.
|
||||
Application labels (that is, the final part of the dotted path to
|
||||
application packages) *must* be unique in :setting:`INSTALLED_APPS`.
|
||||
For example, you can't include both ``django.contrib.auth`` and
|
||||
``myproject.auth``.
|
||||
|
||||
.. setting:: INTERNAL_IPS
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue