mirror of
https://github.com/Hopiu/django-markdownx.git
synced 2026-03-16 21:40:24 +00:00
20 lines
471 B
Python
Executable file
20 lines
471 B
Python
Executable file
"""
|
|
**MarkdownX** default URLs, to be added to URLs in the main project.
|
|
|
|
See URLs in :doc:`../../example` to learn more.
|
|
"""
|
|
try:
|
|
from django.conf.urls import url
|
|
except ImportError:
|
|
from django.urls import re_path as url
|
|
|
|
from .views import (
|
|
ImageUploadView,
|
|
MarkdownifyView,
|
|
)
|
|
|
|
|
|
urlpatterns = [
|
|
url('upload/', ImageUploadView.as_view(), name='markdownx_upload'),
|
|
url('markdownify/', MarkdownifyView.as_view(), name='markdownx_markdownify'),
|
|
]
|