-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathurls.py
25 lines (24 loc) · 858 Bytes
/
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
from django.conf.urls.defaults import patterns, include, url
from info.views import *
from progress.views import progress
from API.views import *
from editor.views import *
from browser.views import *
urlpatterns = patterns('',
(r'^$', index),
(r'api/image[s]*/(\d+)?', showGraphics),
(r'^create/(?P<category>\w+)/(?P<objectID>\d+)/$', update),
(r'^create/(?P<category>\w+)/$', create),
(r'^browse/(?P<category>\w+)/$', browse),
(r'^api/key/', create_api_key),
(r'^api/(?P<category>\w+)/(?P<objectID>\d+)/$', handle_object),
(r'^api/(?P<category>\w+)/(?P<filter>\w+)/$', handle_objects),
(r'^api/(?P<category>\w+)/$', handle_objects),
(r'plan', plan),
(r'progress', progress),
(r'doc', doc),
(r'tutorial', tutorial),
(r'go.js', gojs),
(r'contact', contact),
(r'repository', repo),
)