cablegates/pandora/backend/urls.py

14 lines
329 B
Python
Raw Normal View History

2010-02-03 11:59:11 +00:00
# -*- coding: utf-8 -*-
# vi:si:et:sw=4:sts=4:ts=4
from django.conf.urls.defaults import *
urlpatterns = patterns("backend.views",
2010-02-08 13:16:45 +00:00
(r'^upload/$', 'firefogg_upload'),
(r'^frame/(?P<id>.*)/(?P<position>.*)\.(?P<size>\d+).jpg$', 'frame'),
(r'^stream/(?P<id>.*).(?P<quality>.*).ogv$', 'video'),
2010-02-03 11:59:11 +00:00
(r'^$', 'api'),
)