diff bns_website/urls.py @ 9:f2cb9b2ec552

Added generic views for music, videos, and the buy page with placeholder text. Fix typo in bands.json.
author Brian Neal <bgneal@gmail.com>
date Sat, 29 Oct 2011 22:31:42 -0500
parents 48ff23eab86a
children 2de51cc51d3a
line wrap: on
line diff
--- a/bns_website/urls.py	Sat Oct 29 21:07:53 2011 -0500
+++ b/bns_website/urls.py	Sat Oct 29 22:31:42 2011 -0500
@@ -14,6 +14,15 @@
     url(r'^bands/$',
         ListView.as_view(model=Band),
         name="bands"),
+    url(r'^listen/$',
+        TemplateView.as_view(template_name="music.html"),
+        name="music"),
+    url(r'^watch/$',
+        TemplateView.as_view(template_name="videos.html"),
+        name="videos"),
+    url(r'^buy/$',
+        TemplateView.as_view(template_name="buy.html"),
+        name="buy"),
 
     # Examples:
     # url(r'^$', 'bns_website.views.home', name='home'),