Staging instance, all changes can be removed at any time

Skip to content

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

Diffs that follow mainly move files around and perform renaming to isolate swh-web features into dedicated django applications.

Related to #4398 (closed)


Migrated from D8265 (view on Phabricator)

Merge request reports

Loading