edgware/edgware/files/urls.py

25 lines
696 B
Python
Raw Normal View History

2011-02-08 13:41:56 +00:00
from django.conf.urls.defaults import *
import views
urlpatterns = patterns('',
(r'addFolder', views.add_folder),
2011-05-27 09:26:25 +00:00
(r'upload', views.upload_files),
(r'add_category', views.add_category),
# (r'add', views.add),
(r'^([A-Z0-9].*)/chunk$', views.chunk),
(r'^editFile/', views.editFile),
(r'^deleteFiles/', views.deleteFiles),
(r'^moveFiles/', views.moveFiles),
2011-06-29 14:06:10 +00:00
(r'json_list', views.fileList),
(r'browse', views.browse)
2011-02-08 13:41:56 +00:00
)
2011-05-31 22:16:57 +00:00
# urlpatterns += patterns('views',
# (r'^$', 'index'),
# (r'^add$', 'add'),
# (r'^([A-Z0-9].*)/$', 'view'),
# (r'^([A-Z0-9].*)/chunk$', 'chunk'),
# (r'^([A-Z0-9].*)/(.+)$', 'download'),
# (r'^([A-Z0-9].*)$', 'view'),
# )