django-ex/project/urls.py

15 lines
349 B
Python
Raw Normal View History

2015-04-29 17:56:45 +02:00
from django.conf.urls import include, url
from django.contrib import admin
2016-04-14 13:41:13 +02:00
from welcome.views import index, health
2015-04-29 17:56:45 +02:00
urlpatterns = [
# Examples:
# url(r'^$', 'project.views.home', name='home'),
# url(r'^blog/', include('blog.urls')),
2016-04-14 13:41:13 +02:00
url(r'^$', index),
url(r'^health$', health),
2015-04-29 17:56:45 +02:00
url(r'^admin/', include(admin.site.urls)),
]