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)),
)