Statistics
| Branch: | Tag: | Revision:

root / pithos / api / urls.py @ b956618e

History | View | Annotate | Download (364 Bytes)

1
from django.conf.urls.defaults import *
2

    
3
# TODO: This only works when in this order.
4
urlpatterns = patterns('pithos.api.functions',
5
    (r'^$', 'top_demux'),
6
    (r'^(?P<v_account>.+?)/(?P<v_container>.+?)/(?P<v_object>.+?)$', 'object_demux'),
7
    (r'^(?P<v_account>.+?)/(?P<v_container>.+?)$', 'container_demux'),
8
    (r'^(?P<v_account>.+?)$', 'account_demux')
9
)