view / url for contact

This commit is contained in:
Sanj 2011-10-12 20:04:48 +05:30
parent a25e20da6c
commit 7548baf751
2 changed files with 5 additions and 0 deletions

View File

@ -16,3 +16,7 @@ def index(request):
'tweets': statuses[0:5],
'boxes': boxes
}))
def contact(request):
return render_to_response("registration/contact.html", RequestContext(request, {}))

View File

@ -18,6 +18,7 @@ urlpatterns = patterns('',
#(r'^search/', include('solango.urls')),
(r'^t/$', "frontpage.views.index"),
(r'm/', include('insidepages.urls')),
(r'^contact/$', 'frontpage.views.contact'),
# ('m/(?P<module_slug>.*)', 'insidepages.views.main'),
(r'^comments/', include('django.contrib.comments.urls')),
(r'^ckeditor/', include('ckeditor.urls')),