• Carl Meyer's avatar
    Fixed #21874 -- Require Django applications to have a filesystem path. · 88a2d391
    Carl Meyer yazdı
    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.
    88a2d391
Adı
Son kayıt (commit)
Son güncelleme
..
default_config_app Loading commit data...
namespace_package_base/nsapp Loading commit data...
namespace_package_other_base/nsapp Loading commit data...
__init__.py Loading commit data...
apps.py Loading commit data...
models.py Loading commit data...
tests.py Loading commit data...