Commit 86fb32e4 authored by Jean Michel Rouly's avatar Jean Michel Rouly
Browse files

Corrected urls.

parent 1de1015c
......@@ -12,9 +12,6 @@ urlpatterns = patterns('',
#### Dynamic website pages
url(r'^', include('website.urls')),
#### Help pages
url(r'^help', include('helppages.urls')),
#### Admin pages
url(r'^admin/', include(admin.site.urls)),
)
......
......@@ -8,5 +8,6 @@ urlpatterns = patterns('website.views',
url(r'^me$', 'my_questions', name='my_questions'),
url(r'^submit$', 'submit_question', name='submit_question'),
url(r'^question/(?P<slug>[^\.]+)$', 'view_question', name='view_question'),
url(r'^help$', 'help', name='help'),
)
......@@ -166,3 +166,8 @@ def view_question(request, slug):
'reply_forms' : reply_forms,
},
)
def help(request):
return render(request, 'help.html', {
},
)
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