Commit 23098ff9 authored by Jean Michel Rouly's avatar Jean Michel Rouly

Added about, homepage urls.

parent e816f318
......@@ -4,9 +4,22 @@ from django.contrib import admin
admin.autodiscover()
urlpatterns = patterns('go.views',
# Examples:
# url(r'^$', 'go.views.home', name='home'),
# url(r'^blog/', include('blog.urls')),
# / - Homepage url.
url(r'^$', 'index', name = 'homepage'),
# /about - About page.
url(r'^about/?$', 'about', name = 'about'),
# /admin - Administrator interface.
url(r'^admin/', include(admin.site.urls)),
)
urlpatterns += patterns('django.contrib.auth.views',
# Auth pages
url(r'^login$', 'login', {'template_name' : 'login.html'},
name='website_login'),
url(r'^logout$', 'logout', {'next_page' : '/'},
name='website_logout'),
)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment