|
|
@ -1,12 +1,14 @@ |
|
|
from django.conf.urls import include, url |
|
|
from django.conf.urls import include, url |
|
|
from django.contrib import admin |
|
|
from django.contrib import admin |
|
|
|
|
|
|
|
|
|
|
|
from welcome.views import index, health |
|
|
|
|
|
|
|
|
urlpatterns = [ |
|
|
urlpatterns = [ |
|
|
# Examples: |
|
|
# Examples: |
|
|
# url(r'^$', 'project.views.home', name='home'), |
|
|
# url(r'^$', 'project.views.home', name='home'), |
|
|
# url(r'^blog/', include('blog.urls')), |
|
|
# url(r'^blog/', include('blog.urls')), |
|
|
|
|
|
|
|
|
url(r'^$', >'welcome.views.index'), |
|
|
|
|
|
url(r'^health$', >'welcome.views.health'), |
|
|
|
|
|
|
|
|
url(r'^$', index), |
|
|
|
|
|
url(r'^health$', health), |
|
|
url(r'^admin/', include(admin.site.urls)), |
|
|
url(r'^admin/', include(admin.site.urls)), |
|
|
] |
|
|
] |