aboutsummaryrefslogtreecommitdiffstats
path: root/django_skaschool/urls.py
diff options
context:
space:
mode:
authorWeitian LI <liweitianux@gmail.com>2014-04-20 16:20:48 +0800
committerWeitian LI <liweitianux@gmail.com>2014-04-20 16:22:10 +0800
commit81ee68feef68804dce99c37c79f91e392bea800d (patch)
treef9abd36b9386b3ddfd9ec9f6c6ea37950271eb70 /django_skaschool/urls.py
parent78c799c182d0a634a2286b3992c747cd003b41ca (diff)
downloaddjango-skaschool-81ee68feef68804dce99c37c79f91e392bea800d.tar.bz2
* updated django_skaschool/settings.py
o SITE_ID, LANGUAGE_CODE, TIME_ZONE o INSTALLED_APPS * updated top-level urls.py
Diffstat (limited to 'django_skaschool/urls.py')
-rw-r--r--django_skaschool/urls.py15
1 files changed, 10 insertions, 5 deletions
diff --git a/django_skaschool/urls.py b/django_skaschool/urls.py
index 770e524..65b05c4 100644
--- a/django_skaschool/urls.py
+++ b/django_skaschool/urls.py
@@ -11,20 +11,25 @@ from django.views.generic.base import TemplateView
urlpatterns = patterns('',
+ # admin
url(r'^admin/', include(admin.site.urls)),
- url(r'^page/', include('page.urls')),
+ # index page
url(r'^$', TemplateView.as_view(template_name='index.html'),
name='index'),
+ # app 'page'
+ url(r'^page/', include('page.urls')),
)
-## demo
+## django-registration
urlpatterns += patterns('',
- url(r'^demo/', include('demo.urls')),
+ # url(r'^accounts/', include('registration.backends.default.urls')),
+ url(r'^accounts/', include('account.urls')),
)
-## django-registration
+
+## demo
urlpatterns += patterns('',
- url(r'^accounts/', include('registration.backends.default.urls')),
+ url(r'^demo/', include('demo.urls')),
)
## staticfiles