X-Git-Url: https://git.pterodactylus.net/?p=demoscenemusic.git;a=blobdiff_plain;f=urls.py;fp=urls.py;h=6c8ad0e1f9a2c3586a9ede22e60f2908cc0495f0;hp=b7b85abeccecb0b1e62c6ef7acd0682e8e4b2a64;hb=6a355a103c556fa1baf7e44cec417821164f1a34;hpb=317c323f64b4435d65e4267ef70f01cc16f3e33f 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)), )