Skip to content

Simplify settings.MOUNT_POINT handling in lava_server/urls.py

Igor Ponomarev requested to merge lava-server-urls-simple-mount-point into master

Instead of having to format every URL path separately simply declare a path with route of settings.MOUNT_POINT and use include with a list of all the paths. All included URLs will be relative to MOUNT_POINT without having to use string formatting.

Also move oidc/ path to the auth_urls list where all authentication URLs are.

Merge request reports