1
0
mirror of https://github.com/django/django.git synced 2024-12-29 12:36:08 +00:00
django/tests/apps
Carl Meyer 88a2d39159 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.
2014-01-27 15:34:22 -07:00
..
default_config_app Fixed #21829 -- Added default AppConfigs. 2014-01-25 10:41:56 +01:00
namespace_package_base/nsapp Fixed some missing/extraneous new line warnings. 2014-01-26 14:32:01 -05:00
namespace_package_other_base/nsapp Fixed #17304 -- Allow single-path and configured-path namespace packages as apps. 2014-01-25 19:37:05 -07:00
__init__.py
apps.py Fixed #21871 -- Fixed Apps.is_installed() for apps with custom label. 2014-01-24 20:07:14 -07:00
models.py Populated Apps instances immediately by default. 2013-12-30 22:11:17 +01:00
tests.py Fixed #21874 -- Require Django applications to have a filesystem path. 2014-01-27 15:34:22 -07:00