Browse Source

Fix project settings

pull/150/head
Lumir Balhar 5 years ago
parent
commit
d13d62ecd7
1 changed files with 3 additions and 2 deletions
  1. +3
    -2
      project/urls.py

+ 3
- 2
project/urls.py View File

@ -13,8 +13,9 @@ Including another URLconf
1. Import the include() function: from django.urls import include, path
2. Add a URL to urlpatterns: path('blog/', include('blog.urls'))
"""
from django.conf import settings
from django.contrib import admin
from django.urls import path
from django.urls import include, path
from welcome.views import index, health
@ -27,5 +28,5 @@ urlpatterns = [
if settings.DEBUG:
import debug_toolbar
urlpatterns = [
url(r'^__debug__/', include(debug_toolbar.urls)),
path('__debug__/', include(debug_toolbar.urls)),
] + urlpatterns

Loading…
Cancel
Save