django-ex/project/urls.py

12 lines
294 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
urlpatterns = [
# Examples:
# url(r'^$', 'project.views.home', name='home'),
# url(r'^blog/', include('blog.urls')),
2015-05-29 12:23:59 +02:00
url(r'^$', 'welcome.views.index'),
2015-04-29 17:56:45 +02:00
url(r'^admin/', include(admin.site.urls)),
]