mirror of
https://github.com/django/django.git
synced 2024-11-29 22:56:46 +01:00
88a2d39159
Wherever possible this filesystem path is derived automatically from the app module's ``__path__`` and ``__file__`` attributes (this avoids any backwards-compatibility problems). AppConfig allows specifying an app's filesystem location explicitly, which overrides all autodetection based on ``__path__`` and ``__file__``. This permits Django to support any type of module as an app (namespace packages, fake modules, modules loaded by other hypothetical non-filesystem module loaders), as long as the app is configured with an explicit filesystem path. Thanks Aymeric for review and discussion. |
||
---|---|---|
.. | ||
class-based-views | ||
contrib | ||
files | ||
forms | ||
models | ||
templates | ||
applications.txt | ||
checks.txt | ||
clickjacking.txt | ||
databases.txt | ||
django-admin.txt | ||
exceptions.txt | ||
index.txt | ||
middleware.txt | ||
request-response.txt | ||
settings.txt | ||
signals.txt | ||
template-response.txt | ||
unicode.txt | ||
urlresolvers.txt | ||
urls.txt | ||
utils.txt | ||
validators.txt | ||
views.txt |