Configure views.
authorDavid ‘Bombe’ Roden <bombe@demoscenemusic.org>
Wed, 8 May 2013 23:07:11 +0000 (01:07 +0200)
committerDavid ‘Bombe’ Roden <bombe@demoscenemusic.org>
Wed, 8 May 2013 23:07:11 +0000 (01:07 +0200)
urls.py

diff --git a/urls.py b/urls.py
index b7b85ab..6c8ad0e 100644 (file)
--- a/urls.py
+++ b/urls.py
@@ -4,12 +4,7 @@ from django.contrib import admin
 admin.autodiscover()
 
 urlpatterns = patterns('',
-    # Examples:
-    # url(r'^$', 'DemosceneMusic.views.home', name='home'),
-    # url(r'^DemosceneMusic/', include('DemosceneMusic.foo.urls')),
-
-    # Uncomment the admin/doc line below to enable admin documentation:
-    # url(r'^admin/doc/', include('django.contrib.admindocs.urls')),
-
+    url(r'^$', 'DemosceneMusic.data.views.home'),
+    url(r'^track/(?P<trackId>\d+)/$', 'DemosceneMusic.data.views.track'),
     url(r'^admin/', include(admin.site.urls)),
 )