Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
A
AlekSIS-Core
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Terraform modules
Monitor
Service Desk
Analyze
Contributor analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
AlekSIS®
Official
AlekSIS-Core
Commits
e1b9bc58
Verified
Commit
e1b9bc58
authored
5 years ago
by
Nik | Klampfradler
Browse files
Options
Downloads
Patches
Plain Diff
Ignore empty url configs in apps
parent
73b6d05a
Branches
616-docs-document-dashboard-and-dashboard-widgets
Branches containing commit
No related tags found
Tags containing commit
1 merge request
!142
Implement core functionality for dashboard widgets
Pipeline
#753
canceled
5 years ago
Stage: test
Stage: build
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
aleksis/core/urls.py
+6
-1
6 additions, 1 deletion
aleksis/core/urls.py
with
6 additions
and
1 deletion
aleksis/core/urls.py
+
6
−
1
View file @
e1b9bc58
...
...
@@ -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
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment