Commit b85654af authored by hynek's avatar hynek 🤤
Browse files

fix(urls.py): remove double definition of dhrep

parent 662a9878
......@@ -23,25 +23,26 @@ urlpatterns = [
path(settings.ADMIN_URL + "doc/", include("django.contrib.admindocs.urls")),
path(settings.ADMIN_URL, admin.site.urls),
# User management
path("users/", include(("discuss_data.ddusers.urls", "ddusers"), namespace="ddusers")),
path(
"users/", include(("discuss_data.ddusers.urls", "ddusers"), namespace="ddusers")
),
# next line to be removed
# path("accounts/", include("allauth.urls")),
# Your stuff: custom urls includes go here
path("core/", include(("discuss_data.core.urls", "core"), namespace="core")),
path("dataset/", include("discuss_data.dddatasets.urls", namespace="dddatasets"),),
path("dataset/", include("discuss_data.dddatasets.urls", namespace="dddatasets")),
path("dhrep/", include("discuss_data.dhrep.urls", namespace="dhrep")),
path(
"login/",
auth_views.LoginView.as_view(template_name="auth/login.html",),
auth_views.LoginView.as_view(template_name="auth/login.html"),
name="login",
),
path(
"logout/",
auth_views.LogoutView.as_view(template_name="auth/logout.html",),
auth_views.LogoutView.as_view(template_name="auth/logout.html"),
name="logout",
),
path("shib/", include("shibboleth.urls", namespace="shibboleth")),
path("dhrep/", include("discuss_data.dhrep.urls", namespace="dhrep")),
path("", dashboard_page, name="ddusers.dashboard_page"),
] + static(settings.MEDIA_URL, document_root=settings.MEDIA_ROOT)
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment