bgneal@48: """ bgneal@48: Urls for the mp3 application. bgneal@48: bgneal@48: """ bgneal@66: from django.conf.urls import patterns, url bgneal@48: from django.views.generic import ListView bgneal@48: bgneal@48: from mp3.models import Collection bgneal@48: bgneal@48: bgneal@48: urlpatterns = patterns('', bgneal@48: url(r'^$', bgneal@48: ListView.as_view( bgneal@48: model=Collection, bgneal@48: paginate_by=10, bgneal@48: context_object_name='collection_list'), bgneal@48: name='mp3-index'), bgneal@48: )