mirror of
https://github.com/Hopiu/django-markdownx.git
synced 2026-03-22 16:00:25 +00:00
18 lines
406 B
Python
Executable file
18 lines
406 B
Python
Executable file
"""
|
|
**MarkdownX** default URLs, to be added to URLs in the main project.
|
|
|
|
See URLs in :doc:`../../example` to learn more.
|
|
"""
|
|
|
|
from django.conf.urls import url
|
|
|
|
from .views import (
|
|
ImageUploadView,
|
|
MarkdownifyView,
|
|
)
|
|
|
|
|
|
urlpatterns = [
|
|
url(r'^upload/$', ImageUploadView.as_view(), name='markdownx_upload'),
|
|
url(r'^markdownify/$', MarkdownifyView.as_view(), name='markdownx_markdownify'),
|
|
]
|