From 7548baf751fd20e93682505ce9670550ed78808b Mon Sep 17 00:00:00 2001 From: Sanj Date: Wed, 12 Oct 2011 20:04:48 +0530 Subject: [PATCH] view / url for contact --- itf/frontpage/views.py | 4 ++++ itf/urls.py | 1 + 2 files changed, 5 insertions(+) diff --git a/itf/frontpage/views.py b/itf/frontpage/views.py index b987d6e..6f88ce9 100755 --- a/itf/frontpage/views.py +++ b/itf/frontpage/views.py @@ -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, {})) + diff --git a/itf/urls.py b/itf/urls.py index 794a299..f14db5c 100755 --- a/itf/urls.py +++ b/itf/urls.py @@ -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.*)', 'insidepages.views.main'), (r'^comments/', include('django.contrib.comments.urls')), (r'^ckeditor/', include('ckeditor.urls')),