예제 #1
0
파일: urls.py 프로젝트: violetcrown/romeu
    
    (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),
    (r'^digitalobjects/type/(\S+)/?$', DigitalObjectsTypeListView.as_view()),
    (r'^digitalobjects/collections/?$', collections_list),
    (r'^digitalobjects/collection/(\S+)/?$', DigitalObjectsCollectionListView.as_view()),
    (r'^digitalobject/(?P<pk>\d+)/?$', DigitalObjectDetailView.as_view()),
    
    # Set up i18n functions
    (r'^i18n/', include('django.conf.urls.i18n')),

    (r'^tinymce/', include('tinymce.urls')),

    (r'^ajax_select/', include('ajax_select.urls')),
    (r'^chaining/', include('smart_selects.urls')),
    # Uncomment the admin/doc line below to enable admin documentation:
    # (r'^admin/doc/', include('django.contrib.admindocs.urls')),

    (r'^%s/' % settings.DAJAXICE_MEDIA_PREFIX, include('dajaxice.urls')),

    # Uncomment the next line to enable the admin:
예제 #2
0
파일: urls.py 프로젝트: umdsp/romeu
 url(r'^digitalobjects/videos/?$',
     DigitalObjectsVideosListView.as_view(),
     name="digital_object_video_list_view"),
 url(r'^digitalobjects/images/?$',
     DigitalObjectsImagesListView.as_view(),
     name="digital_object_image_list_view"),
 url(r'^digitalobjects/types/?$', phys_types_list,
     name="digital_object_type"),
 url(r'^digitalobjects/type/(\S+)/?$',
     DigitalObjectsTypeListView.as_view(),
     name="digital_object_type_list_view"),
 url(r'^digitalobjects/collections/?$',
     collections_list,
     name="digital_object_collection"),
 url(r'^digitalobjects/collection/(\S+)/?$',
     DigitalObjectsCollectionListView.as_view(),
     name="digital_object_collection_list_view"),
 url(r'^digitalobject/(?P<pk>\d+)/?$',
     DigitalObjectDetailView.as_view(),
     name="digital_object_detail_view"),
 url(r'^festivals/?$', FestivalsListView.as_view(),
     name="festivals_list_view"),
 url(r'^festivals/(?P<alpha>[a-z0]{1})/?$',
     FestivalsAlphaListView.as_view(),
     name="festivals_alpha_list_view"),
 url(r'^festival/(?P<pk>\d+)/?$', FestivalDetailView.as_view(),
     name="festival_detail_view"),
 url(r'^festival/Occurrence/(?P<pk>\d+)/?$', FestivalOccurrenceDetailView.as_view(),
     name="festival_occurrence_detail_view"),
 url(r'^awards/?$', AwardsListView.as_view(),
     name="awards_list_view"),