aboutsummaryrefslogtreecommitdiffstats
path: root/page/urls.py
blob: d8825e50045592c027ede66975f8625637019b1f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
# -*- coding: utf-8 -*-
#
# urls.py for app 'page'
#

from django.conf.urls import patterns, include, url
from django.views.generic.base import TemplateView, RedirectView
from django.core.urlresolvers import reverse_lazy

urlpatterns = patterns('',
    # index page
    url(r'^$', RedirectView.as_view(url=reverse_lazy('index'))),
    # introduction page
    url(r'^introduction/$', TemplateView.as_view(template_name='page/introduction.html'),
        name='introduction'),
)