django-ex/project/urls.py
gabemontero 100bd17503 Revert "Merge pull request #150 from frenzymadness/update"
This reverts commit bd5e35296a, reversing
changes made to 97c98a084d.
2020-07-09 16:53:08 -04:00

21 lines
525 B
Python

from django.conf import settings
from django.conf.urls import include, url
from django.contrib import admin
from welcome.views import index, health
urlpatterns = [
# Examples:
# url(r'^$', 'project.views.home', name='home'),
# url(r'^blog/', include('blog.urls')),
url(r'^$', index),
url(r'^health$', health),
url(r'^admin/', include(admin.site.urls)),
]
if settings.DEBUG:
import debug_toolbar
urlpatterns = [
url(r'^__debug__/', include(debug_toolbar.urls)),
] + urlpatterns