dav_base: cosmetics
Run tests / Execute tox to run the test suite (push) Successful in 3m29s

This commit is contained in:
2026-05-28 14:51:49 +02:00
parent efd2305b35
commit d9cfffb8c2
8 changed files with 63 additions and 41 deletions
+1 -3
View File
@@ -10,9 +10,7 @@ class RootView(generic.TemplateView):
c = super().get_context_data(**kwargs)
root_urls = []
for module_meta_obj in settings.MODULE_CONFIG.modules.values():
root_url_name = 'root'
if module_meta_obj.url_namespace:
root_url_name = '%s:%s' % (module_meta_obj.url_namespace, root_url_name)
root_url_name = module_meta_obj.root_url_name
try:
reverse(root_url_name)
root_urls.append((module_meta_obj.package, root_url_name))