Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(2)  |  Call(2)  |  Derive(0)  |  Import(0)

src/e/h/ehri-collections-HEAD/ehriportal/portal/collection_urls.py   ehri-collections(Download)
    url(r'^create/?$', 
            user_passes_test(permissions.is_staff)(
                views.CollectionEditView.as_view()), name='collection_create'),
    url(r'^edit/(?P<slug>[-\w]+)/?$',
            user_passes_test(permissions.is_staff)(
                views.CollectionEditView.as_view()), name='collection_edit'),