Did I find the right examples for you? yes no

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

src/c/r/crate.web-HEAD/crate/web/packages/simple/restricted_urls.py   crate.web(Download)
 
urlpatterns = patterns("",
    url(r"^$", PackageIndex.as_view(restricted=True), name="simple_package_index"),
    url(r"^(?P<slug>[^/]+)/(?:(?P<version>[^/]+)/)?$", PackageDetail.as_view(restricted=True), name="simple_package_detail"),
)

src/c/r/crate.web-HEAD/crate/web/packages/simple/urls.py   crate.web(Download)
 
urlpatterns = patterns("",
    url(r"^$", PackageIndex.as_view(), name="simple_package_index"),
    url(r"^(?P<slug>[^/]+)/(?:(?P<version>[^/]+)/)?$", PackageDetail.as_view(), name="simple_package_detail"),
)