added browse.html in .py

This commit is contained in:
ashok sukumaran 2011-05-07 16:47:45 +05:30
parent 2322097194
commit 532e47c9df
2 changed files with 4 additions and 0 deletions

View File

@ -13,6 +13,9 @@ def archive(request):
def publish(request): def publish(request):
return render_to_response("main/publish.html") return render_to_response("main/publish.html")
def browse(request):
return render_to_response("main/browse.html")
def faq(request): def faq(request):
return render_to_response("main/faq.html") return render_to_response("main/faq.html")

View File

@ -15,6 +15,7 @@ urlpatterns = patterns('',
(r'^sandbox/contact$', 'main.views.contact'), (r'^sandbox/contact$', 'main.views.contact'),
(r'^sandbox/archive$', 'main.views.archive'), (r'^sandbox/archive$', 'main.views.archive'),
(r'^sandbox/publish$', 'main.views.publish'), (r'^sandbox/publish$', 'main.views.publish'),
(r'^sandbox/browse$', 'main.views.browse'),
(r'^sandbox/faq$', 'main.views.faq'), (r'^sandbox/faq$', 'main.views.faq'),
(r'^sandbox/help$', 'main.views.help'), (r'^sandbox/help$', 'main.views.help'),
(r'^$', 'django.views.generic.simple.redirect_to', {'url': '/slider/'}), (r'^$', 'django.views.generic.simple.redirect_to', {'url': '/slider/'}),