From 6a355a103c556fa1baf7e44cec417821164f1a34 Mon Sep 17 00:00:00 2001 From: =?utf8?q?David=20=E2=80=98Bombe=E2=80=99=20Roden?= Date: Thu, 9 May 2013 01:07:11 +0200 Subject: [PATCH] Configure views. --- urls.py | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/urls.py b/urls.py index b7b85ab..6c8ad0e 100644 --- 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\d+)/$', 'DemosceneMusic.data.views.track'), url(r'^admin/', include(admin.site.urls)), ) -- 2.7.4