summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorCarl Meyer <carl@oddbird.net>2014-01-27 13:28:53 -0700
committerCarl Meyer <carl@oddbird.net>2014-01-27 15:34:22 -0700
commit88a2d39159872f6a7fced1bae591550650fd7f38 (patch)
tree0d7ee946c71354f8ea6095b549d926734b2e5579 /docs
parentb87bc461c89f2006f0b27c7240fb488fac32bed1 (diff)
Fixed #21874 -- Require Django applications to have a filesystem path.
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.
Diffstat (limited to 'docs')
-rw-r--r--docs/ref/applications.txt2
1 files changed, 0 insertions, 2 deletions
diff --git a/docs/ref/applications.txt b/docs/ref/applications.txt
index df105f1237..60db009585 100644
--- a/docs/ref/applications.txt
+++ b/docs/ref/applications.txt
@@ -171,8 +171,6 @@ Configurable attributes
required; for instance if the app package is a `namespace package`_ with
multiple paths.
- It may be ``None`` if the application isn't stored in a directory.
-
Read-only attributes
--------------------