Skip to content
Snippets Groups Projects
Verified Commit e1b9bc58 authored by Nik | Klampfradler's avatar Nik | Klampfradler
Browse files

Ignore empty url configs in apps

parent 73b6d05a
Branches 616-docs-document-dashboard-and-dashboard-widgets
No related tags found
1 merge request!142Implement core functionality for dashboard widgets
Pipeline #753 canceled
......@@ -66,4 +66,9 @@ for app_config in apps.app_configs.values():
if not app_config.name.startswith("aleksis.apps."):
continue
urlpatterns.append(path("app/%s/" % app_config.label, include("%s.urls" % app_config.name)))
try:
urlpatterns.append(path("app/%s/" % app_config.label, include("%s.urls" % app_config.name)))
except ModuleNotFoundError:
# Ignore exception as app just has no URLs
pass # noqa
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment