Kiln » Kiln Storage Service Read More
Clone URL:  
urls.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# Copyright (C) 2008-2010 by Fog Creek Software. All rights reserved. # # This software may be used and distributed according to the terms of the # GNU General Public License version 2, incorporated herein by reference. from django.conf.urls.defaults import * from hgproxy.views import hgproxy from piston.resource import Resource from api.handlers import SynchronizeHandler, VersionHandler synchronize = Resource(SynchronizeHandler) version = Resource(VersionHandler) urlpatterns = patterns('', (r'^repo/(?P<uuid>[0-9A-Fa-f-]+)/serve$', hgproxy), (r'^repo/', include('api.urls')), url(r'^sync$', synchronize), url(r'^version$', version), ) handler500 = 'views.error_view'