Menu and urls added 2011
authorprimal primal007@gmail.com
Tue, 06 Dec 2011 17:58:28 +0530
branch2011
changeset 515 b3e8172b0f86
parent 514 23b06e07364d
child 516 8a57408a40bf
Menu and urls added
project/templates/_menu.html
project/urls.py
--- a/project/templates/_menu.html	Tue Dec 06 15:21:43 2011 +0530
+++ b/project/templates/_menu.html	Tue Dec 06 17:58:28 2011 +0530
@@ -106,6 +106,7 @@
 		<ul>
 			<li><a href="/{{ params.scope }}/about/day_zero/">Day 0</a></li>
 			<li><a href="/{{ params.scope }}/about/day_one/">Day 1</a></li>
+			<li><a href="/{{ params.scope }}/about/day_two/">Day 2</a></li>
 		</ul>
 	</li>
 	
--- a/project/urls.py	Tue Dec 06 15:21:43 2011 +0530
+++ b/project/urls.py	Tue Dec 06 17:58:28 2011 +0530
@@ -120,6 +120,9 @@
     url(r'^%s/about/day_one/$' % (SCOPE_ARG_PATTERN),
     	direct_to_template, {"template": "about/day_one.html"},
         name='scipycon_day_one'),
+    url(r'^%s/about/day_two/$' % (SCOPE_ARG_PATTERN),
+    	direct_to_template, {"template": "about/day_two.html"},
+        name='scipycon_day_two'),
     url(r'^%s/about/speakerinfo/$' % (SCOPE_ARG_PATTERN),
         direct_to_template, {"template": "about/speakerinfo.html"},
         name='scipycon_sinfo'),