added link to sprint_info and created a basic template anoop
authornishanth
Tue, 20 Jul 2010 12:59:40 +0530
branchanoop
changeset 143 a752dc99e23c
parent 142 8b366ff5fef1
child 144 cb81b0f7e707
added link to sprint_info and created a basic template
sdi/views.py
templates/sprint_info.html
urls.py
--- a/sdi/views.py	Tue Jul 20 12:53:12 2010 +0530
+++ b/sdi/views.py	Tue Jul 20 12:59:40 2010 +0530
@@ -299,3 +299,9 @@
 
 def talks_proposed(request):
     return render_to_response("talks_proposed.html")
+
+def sprint_info(request):
+    """ display info on what a sprint is.
+    """
+
+    render_to_response("sprint_info.html")
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/templates/sprint_info.html	Tue Jul 20 12:59:40 2010 +0530
@@ -0,0 +1,6 @@
+{% extends 'base.html' %}
+{% block title %}
+What is a Sprint
+{% endblock %}
+{% block content %}
+{% endblock %}
--- a/urls.py	Tue Jul 20 12:53:12 2010 +0530
+++ b/urls.py	Tue Jul 20 12:59:40 2010 +0530
@@ -5,7 +5,7 @@
 admin.autodiscover()
 
 from sage_days.sdi.views import register, homepage, schedule, organizers, venue, contact, about
-from sage_days.sdi.views import accomodation, about_mumbai, reaching_iitb, talks_proposed
+from sage_days.sdi.views import accomodation, about_mumbai, reaching_iitb, talks_proposed, sprint_info
 from sage_days.settings import APACHE_URL_PREFIX as aup
 
 urlpatterns = patterns('',
@@ -30,4 +30,5 @@
     (r'^about_mumbai/',about_mumbai),
     (r'^reaching_iitb/',reaching_iitb),
     (r'^talks_proposed/',talks_proposed),
+    (r'^what_is_sprint/', sprint_info),
 )