diff options
Diffstat (limited to 'demo/urls.py')
-rw-r--r-- | demo/urls.py | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/demo/urls.py b/demo/urls.py index 552e06ca..f36152ae 100644 --- a/demo/urls.py +++ b/demo/urls.py @@ -78,7 +78,7 @@ from objectapp.sitemaps import GbobjectSitemap # import gstudio.regbackend from gstudio.forms import * from registration.views import register - +from views import home_view, more_view admin.autodiscover() @@ -88,7 +88,9 @@ handler404 = 'django.views.defaults.page_not_found' urlpatterns = patterns( '', (r'^$', 'django.views.generic.simple.redirect_to', - {'url': '/nodetypes/'}), + {'url': '/home/'}), + url(r'^home/', home_view), + url(r'^more/',more_view), url(r'^nodetypes/', include('gstudio.urls')), url(r'^objects/', include('objectapp.urls')), url(r'^comments/', include('django.contrib.comments.urls')), |