edgware/edgware/files/urls.py

25 lines
696 B
Python

from django.conf.urls.defaults import *
import views
urlpatterns = patterns('',
(r'addFolder', views.add_folder),
(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),
(r'json_list', views.fileList),
(r'browse', views.browse)
)
# 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'),
# )