experiENS/experiENS/urls.py

19 lines
507 B
Python
Raw Normal View History

2017-06-26 22:40:35 +02:00
from django.conf import settings
2021-02-07 18:23:24 +01:00
from django.urls import include, path
2017-04-04 00:31:50 +02:00
from django.contrib import admin
2017-04-04 21:18:58 +02:00
urlpatterns = [
2021-02-07 23:15:47 +01:00
path("", include("avisstage.urls")),
2021-02-07 18:23:24 +01:00
path("authens/", include("authens.urls")),
2021-02-07 23:15:47 +01:00
path("tinymce/", include("tinymce.urls")),
path("taggit_autosuggest/", include("taggit_autosuggest.urls")),
path("admin/", admin.site.urls),
2017-04-04 21:18:58 +02:00
]
2017-06-26 22:40:35 +02:00
if settings.DEBUG:
import debug_toolbar
2021-02-07 23:15:47 +01:00
2017-06-26 22:40:35 +02:00
urlpatterns = [
2021-02-07 23:15:47 +01:00
path("__debug__/", include(debug_toolbar.urls)),
2017-06-26 22:40:35 +02:00
] + urlpatterns