Revision 8a1ae1a7
b/snf-pithos-app/pithos/api/urls.py | ||
---|---|---|
68 | 68 |
(r'^(?P<v_account>.+?)/(?P<v_container>.+?)/(?P<v_object>.+?)$', |
69 | 69 |
'object_read')) |
70 | 70 |
|
71 |
pithos_patterns = [] |
|
71 | 72 |
if SERVE_API: |
72 |
pithos_patterns = patterns( |
|
73 |
pithos_patterns += patterns(
|
|
73 | 74 |
'', |
74 | 75 |
(r'{0}v1/'.format(prefix_pattern(PITHOS_PREFIX)), |
75 | 76 |
include(pithos_api_patterns)), |
... | ... | |
79 | 80 |
'pithos.api.public.public_demux'), |
80 | 81 |
) |
81 | 82 |
|
82 |
urlpatterns += patterns(
|
|
83 |
pithos_patterns += patterns(
|
|
83 | 84 |
'', |
84 | 85 |
(r'{0}'.format(prefix_pattern(VIEW_PREFIX)), |
85 | 86 |
include(pithos_view_patterns))) |
Also available in: Unified diff