OnlineJudge/utils/urls.py

9 lines
300 B
Python
Raw Normal View History

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