コード例 #1
0
ファイル: urls.py プロジェクト: violetcrown/romeu
    (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),
    (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:
コード例 #2
0
ファイル: urls.py プロジェクト: umdsp/romeu
     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})/?$',
     VenuesAlphaListView.as_view(),
     name="venue_alpha_list_view"),
 url(r'^venue/(?P<pk>\d+)/?$', VenueDetailView.as_view(),
     name="venue_detail_view"),
 url(r'^digitalobjects/?$',
     DigitalObjectsListView.as_view(),
     name="digital_object_list_view"),
 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"),