修正server_setting中typo和urls里别扭的拼写

This commit is contained in:
sxw@401 2015-09-12 09:54:47 +08:00
parent 43840dba15
commit 74f122b472
3 changed files with 3 additions and 3 deletions

View File

@ -36,4 +36,4 @@ TEST_CASE_DIR = '/root/test_case/'
ALLOWED_HOSTS = ['*']
IMAGE_UPLOAD_DIR = '/var/mnt/source/OnlineJudeg/static/src/upload_image/'
IMAGE_UPLOAD_DIR = '/var/mnt/source/OnlineJudge/static/src/upload_image/'

View File

@ -54,7 +54,7 @@ urlpatterns = [
url(r'^api/submission/$', SubmissionAPIView.as_view(), name="submission_api"),
url(r'^api/group_join/$', JoinGroupAPIView.as_view(), name="group_join_api"),
url(r'^api/admin/up_load_image/$', SimditorImageUploadAPIView.as_view(), name="simditor_upload_image"),
url(r'^api/admin/upload_image/$', SimditorImageUploadAPIView.as_view(), name="simditor_upload_image"),
url(r'^api/admin/announcement/$', AnnouncementAdminAPIView.as_view(), name="announcement_admin_api"),
url(r'^api/admin/contest/$', ContestAdminAPIView.as_view(), name="contest_admin_api"),
url(r'^api/admin/user/$', UserAdminAPIView.as_view(), name="user_admin_api"),

View File

@ -8,7 +8,7 @@ define("editor", ["simditor"], function(Simditor){
toolbarFloat: false,
defaultImage: null,
upload: {
url: "/api/admin/up_load_image/",
url: "/api/admin/upload_image/",
params: null,
fileKey: "image",
connectionCount: 3,