from django.conf import settings from django.contrib import admin from django.urls import include, path urlpatterns = [ path("", include("avisstage.urls")), path("authens/", include("authens.urls")), path("tinymce/", include("tinymce.urls")), path("taggit_autosuggest/", include("taggit_autosuggest.urls")), path("admin/", admin.site.urls), ] if settings.DEBUG: import debug_toolbar urlpatterns = [ path("__debug__/", include(debug_toolbar.urls)), ] + urlpatterns