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),
|
2011-06-01 01:10:55 +00:00
|
|
|
(r'add_category', views.add_category),
|
2011-07-01 10:03:05 +00:00
|
|
|
# (r'add', views.add),
|
2011-06-01 01:10:55 +00:00
|
|
|
(r'^([A-Z0-9].*)/chunk$', views.chunk),
|
2011-07-01 10:03:05 +00:00
|
|
|
(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'),
|
|
|
|
# )
|