mirror of
https://github.com/Hopiu/django-markdownx.git
synced 2026-03-16 21:40:24 +00:00
Migrated to modern django urlconf
This commit is contained in:
parent
30f2930fb3
commit
1824e18b72
1 changed files with 3 additions and 3 deletions
|
|
@ -4,7 +4,7 @@
|
|||
See URLs in :doc:`../../example` to learn more.
|
||||
"""
|
||||
|
||||
from django.conf.urls import url
|
||||
from django.urls import path
|
||||
|
||||
from .views import (
|
||||
ImageUploadView,
|
||||
|
|
@ -13,6 +13,6 @@ from .views import (
|
|||
|
||||
|
||||
urlpatterns = [
|
||||
url(r'^upload/$', ImageUploadView.as_view(), name='markdownx_upload'),
|
||||
url(r'^markdownify/$', MarkdownifyView.as_view(), name='markdownx_markdownify'),
|
||||
path('upload', ImageUploadView.as_view(), name='markdownx_upload'),
|
||||
path('markdownify', MarkdownifyView.as_view(), name='markdownx_markdownify'),
|
||||
]
|
||||
|
|
|
|||
Loading…
Reference in a new issue