bugfix
This commit is contained in:
parent
691e1192d4
commit
1a7a2c00d7
1 changed files with 5 additions and 1 deletions
|
@ -16,6 +16,8 @@ Including another URLconf
|
||||||
from django.contrib import admin
|
from django.contrib import admin
|
||||||
from django.urls import include, path
|
from django.urls import include, path
|
||||||
|
|
||||||
|
from . import settings
|
||||||
|
|
||||||
urlpatterns = [
|
urlpatterns = [
|
||||||
path("authens/", include("authens.urls")),
|
path("authens/", include("authens.urls")),
|
||||||
path("admin/", admin.site.urls),
|
path("admin/", admin.site.urls),
|
||||||
|
@ -23,6 +25,8 @@ urlpatterns = [
|
||||||
path("api/budget/", include("budget.urls")),
|
path("api/budget/", include("budget.urls")),
|
||||||
path("api/agent/", include("agent.urls")),
|
path("api/agent/", include("agent.urls")),
|
||||||
# path("api/wishlist/", include("wishlist.urls")),
|
# path("api/wishlist/", include("wishlist.urls")),
|
||||||
path('__debug__/', include('debug_toolbar.urls')),
|
|
||||||
path("", include("frontend.urls")),
|
path("", include("frontend.urls")),
|
||||||
]
|
]
|
||||||
|
|
||||||
|
if settings.DEBUG:
|
||||||
|
urlpatterns += [path("__debug__/", include("debug_toolbar.urls"))]
|
||||||
|
|
Loading…
Reference in a new issue