OnlineJudge/utils/urls.py

9 lines
300 B
Python
Raw Permalink Normal View History

from django.conf.urls import url
2019-03-12 14:40:47 +08:00
from .views import SimditorImageUploadAPIView, SimditorFileUploadAPIView
urlpatterns = [
2019-03-12 14:40:47 +08:00
url(r"^upload_image/?$", SimditorImageUploadAPIView.as_view(), name="upload_image"),
url(r"^upload_file/?$", SimditorFileUploadAPIView.as_view(), name="upload_file")
]