From: David ‘Bombe’ Roden Date: Wed, 8 May 2013 23:07:11 +0000 (+0200) Subject: Configure views. X-Git-Url: https://git.pterodactylus.net/?a=commitdiff_plain;h=6a355a103c556fa1baf7e44cec417821164f1a34;p=demoscenemusic.git Configure views. --- 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)), )