diff options
Diffstat (limited to 'django_skaschool/urls.py')
-rw-r--r-- | django_skaschool/urls.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/django_skaschool/urls.py b/django_skaschool/urls.py index 7830463..60a298a 100644 --- a/django_skaschool/urls.py +++ b/django_skaschool/urls.py @@ -10,13 +10,14 @@ from django.conf.urls.static import static from django.contrib.staticfiles.urls import staticfiles_urlpatterns from django.views.generic.base import TemplateView +from page.views import IndexView + urlpatterns = patterns('', # admin url(r'^admin/', include(admin.site.urls)), # index page - url(r'^$', TemplateView.as_view(template_name='index.html'), - name='index'), + url(r'^$', IndexView.as_view(), name='index'), # app 'page' url(r'^page/', include('page.urls')), # app 'notice' |