-
Notifications
You must be signed in to change notification settings - Fork 0
/
urls.py
27 lines (23 loc) · 1.15 KB
/
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
25
26
27
from django.conf.urls.defaults import patterns, include, url
# Uncomment the next two lines to enable the admin:
from django.contrib import admin
admin.autodiscover()
urlpatterns = patterns('',
# Examples:
url(r'^$', 'fedex.views.index', name='home'),
url(r'^login$', 'fedex.views.login', name='login'),
url(r'^upload/', 'fedex.views.upload', name='upload'),
url(r'^add/comments','fedex.comments.add',name="addcomment"),
url(r'^add/revision','fedex.revisions.add',name="addrevision"),
url(r'^get/files/(?P<revision>(v|V)\d+)/$', 'fedex.files.get'),
url(r'^debug/','fedex.views.add_debug',name="debug"),
url(r'^get/comments/(?P<fileid>\d+)/$', 'fedex.comments.get'),
url(r'^get/comments/$', 'fedex.comments.get'),
url(r'^get/regions/(?P<fileid>\d+)/$', 'fedex.comments.getregion'),
url(r'^get/regions/$', 'fedex.comments.getregion'),
# url(r'^otter/', include('otter.foo.urls')),
# Uncomment the admin/doc line below to enable admin documentation:
# url(r'^admin/doc/', include('django.contrib.admindocs.urls')),
# Uncomment the next line to enable the admin:
url(r'^admin/', include(admin.site.urls)),
)