# Uncomment the next two lines to enable the admin: from django.contrib import admin admin.autodiscover() urlpatterns = patterns('', # Example: # (r'^ctda/', include('ctda.foo.urls')), # static pages (r'^$', flatpage, {'url': '/'}), (r'^creators/?$', CreatorsListView.as_view()), (r'^creators/(?P<alpha>[a-z0]{1})/?$', CreatorsAlphaListView.as_view()), (r'^creator/(?P<pk>\d+)/?$', CreatorDetailView.as_view()), (r'^productions/?$', ProductionsListView.as_view()), (r'^productions/(?P<alpha>[a-z0]{1})/?$', ProductionsAlphaListView.as_view()), (r'^production/(?P<pk>\d+)/?$', ProductionDetailView.as_view()), (r'^writtenworks/?$', WorkRecordsListView.as_view()), (r'^writtenworks/(?P<alpha>[a-z0]{1})/?$', WorkRecordsAlphaListView.as_view()), (r'^writtenwork/(?P<pk>\d+)/?$', WorkRecordDetailView.as_view()), (r'^venues/?$', VenuesListView.as_view()), (r'^venues/(?P<alpha>[a-z0]{1})/?$', VenuesAlphaListView.as_view()), (r'^venue/(?P<pk>\d+)/?$', VenueDetailView.as_view()), (r'^digitalobjects/?$', DigitalObjectsListView.as_view()), (r'^digitalobjects/videos/?$', DigitalObjectsVideosListView.as_view()), (r'^digitalobjects/images/?$', DigitalObjectsImagesListView.as_view()), (r'^digitalobjects/types/?$', phys_types_list),
DEFAULT_TEMPLATE = 'flatpages/default.html' from django.contrib import admin admin.autodiscover() urlpatterns = patterns('', # static pages url(r'^$', flatpage, {'url': '/'}, name="home"), url(r'^creators/?$', CreatorsListView.as_view(), name="creator_list_view"), url(r'^creators/(?P<alpha>[a-z0]{1})/?$', CreatorsAlphaListView.as_view(), name="creator_alpha_list_view"), url(r'^creator/(?P<pk>\d+)/?$', CreatorDetailView.as_view(), name="creator_detail_view"), url(r'^productions/?$', ProductionsListView.as_view(), name="production_list_view"), url(r'^productions/(?P<alpha>[a-z0]{1})/?$', ProductionsAlphaListView.as_view(), name="production_alpha_list_view"), url(r'^production/(?P<pk>\d+)/?$', ProductionDetailView.as_view(), name="production_detail_view"), url(r'^writtenworks/?$', WorkRecordsListView.as_view(), name="workrecord_list_view"), url(r'^writtenworks/(?P<alpha>[a-z0]{1})/?$', WorkRecordsAlphaListView.as_view(), name="workrecord_alpha_list_view"), url(r'^writtenwork/(?P<pk>\d+)/?$', WorkRecordDetailView.as_view(), name="workrecord_detail_view"), url(r'^venues/?$', VenuesListView.as_view(), name="venue_list_view"), url(r'^venues/(?P<alpha>[a-z0]{1})/?$',