mirror of
https://github.com/haiwen/seahub.git
synced 2025-09-12 13:24:52 +00:00
upload a new version of a file
This commit is contained in:
3
urls.py
3
urls.py
@@ -12,7 +12,7 @@ from seahub.views import root, peers, myhome, \
|
||||
seafile_access_check, back_local, repo_history_changes, \
|
||||
repo_upload_file, file_upload_progress, file_upload_progress_page, get_subdir, file_move, \
|
||||
repo_new_dir, repo_rename_file, validate_filename, \
|
||||
repo_create
|
||||
repo_create, repo_update_file
|
||||
from seahub.notifications.views import notification_list
|
||||
from seahub.share.views import share_admin
|
||||
from seahub.group.views import group_list
|
||||
@@ -50,6 +50,7 @@ urlpatterns = patterns('',
|
||||
(r'^repo/upload_check/$', validate_filename),
|
||||
(r'^repo/file_rename/$', repo_rename_file),
|
||||
url(r'^repo/upload_file/(?P<repo_id>[^/]+)/$', repo_upload_file, name='repo_upload_file'),
|
||||
url(r'^repo/update_file/(?P<repo_id>[^/]+)/$', repo_update_file, name='repo_update_file'),
|
||||
url(r'^repo/(?P<repo_id>[^/]+)/$', repo, name='repo'),
|
||||
(r'^repo/history/(?P<repo_id>[^/]+)/$', repo_history),
|
||||
(r'^repo/history/revert/(?P<repo_id>[^/]+)/$', repo_history_revert),
|
||||
|
Reference in New Issue
Block a user