Revision bb4eafc6 pithos/public/urls.py
b/pithos/public/urls.py | ||
---|---|---|
33 | 33 |
|
34 | 34 |
from django.conf.urls.defaults import * |
35 | 35 |
|
36 |
# TODO: This only works when in this order. |
|
37 | 36 |
urlpatterns = patterns('pithos.public.functions', |
38 | 37 |
(r'^$', 'method_not_allowed'), |
39 |
(r'^(?P<v_account>.+?)/(?P<v_container>.+?)/(?P<v_object>.+?)$', 'object_demux'), |
|
40 |
(r'^(?P<v_account>.+?)/(?P<v_container>.+?)/?$', 'method_not_allowed'), |
|
41 |
(r'^(?P<v_account>.+?)/?$', 'method_not_allowed') |
|
38 |
(r'^(?P<v_public>.+?)/?$', 'public_demux') |
|
42 | 39 |
) |
Also available in: Unified diff