-
- Downloads
Update swh-web django applications configuration and setup
Towards reorganizing swh-web features into multiple django applications, introduce the following changes regarding their settings: - Declare a fixed set of base django apps and enable to add extra ones through configuration - Add application templates directory to django templates search paths - Automatically register URLs of selected django applications - Inject swh-web django app names in templates to check a feature is enabled Related to T4398
Showing
- swh/web/api/apiurls.py 1 addition, 1 deletionswh/web/api/apiurls.py
- swh/web/api/views/utils.py 1 addition, 1 deletionswh/web/api/views/utils.py
- swh/web/browse/browseurls.py 1 addition, 1 deletionswh/web/browse/browseurls.py
- swh/web/browse/urls.py 7 additions, 7 deletionsswh/web/browse/urls.py
- swh/web/common/utils.py 3 additions, 0 deletionsswh/web/common/utils.py
- swh/web/config.py 8 additions, 1 deletionswh/web/config.py
- swh/web/settings/common.py 31 additions, 8 deletionsswh/web/settings/common.py
- swh/web/tests/conftest.py 35 additions, 0 deletionsswh/web/tests/conftest.py
- swh/web/tests/test_urls.py 15 additions, 1 deletionswh/web/tests/test_urls.py
- swh/web/urls.py 11 additions, 2 deletionsswh/web/urls.py
Loading
Please register or sign in to comment