aboutsummaryrefslogtreecommitdiffstats
path: root/django_skaschool/urls.py
diff options
context:
space:
mode:
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