newmediamonitoring1/static/django-summernote-0.8.11.4/django_summernote/urls.py

13 lines
369 B
Python

from django.conf.urls import url
from django_summernote.views import (
SummernoteEditor, SummernoteUploadAttachment
)
urlpatterns = [
url(r'^editor/(?P<id>.+)/$', SummernoteEditor.as_view(),
name='django_summernote-editor'),
url(r'^upload_attachment/$', SummernoteUploadAttachment.as_view(),
name='django_summernote-upload_attachment'),
]