mirror of
https://github.com/Hopiu/django-markdownx.git
synced 2026-05-04 03:24:51 +00:00
[Closes #32] Added names to URL patterns
This commit is contained in:
parent
f640ede74c
commit
e74785c108
2 changed files with 5 additions and 5 deletions
|
|
@ -66,7 +66,7 @@ __copyright__ = 'Copyright 2017'
|
|||
__license__ = 'BSD'
|
||||
__maintainer__ = 'Adi, Pouria Hadjibagheri'
|
||||
__url__ = 'https://github.com/neutronX/django-markdownx'
|
||||
__version__ = '2.0.18'
|
||||
__version__ = '2.0.19'
|
||||
__description__ = 'A comprehensive Markdown editor built for Django.'
|
||||
# ~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-
|
||||
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
"""
|
||||
**MarkdownX** default URLs, to be added to URLs in the main project.
|
||||
|
||||
See URLs in :doc:`../../example` to learn more.
|
||||
|
||||
See URLs in :doc:`../../example` to learn more.
|
||||
"""
|
||||
|
||||
from django.conf.urls import url
|
||||
|
|
@ -13,6 +13,6 @@ from .views import (
|
|||
|
||||
|
||||
urlpatterns = [
|
||||
url(r'^upload/$', ImageUploadView.as_view()),
|
||||
url(r'^markdownify/$', MarkdownifyView.as_view()),
|
||||
url(r'^upload/$', ImageUploadView.as_view(), name='markdownx_upload'),
|
||||
url(r'^markdownify/$', MarkdownifyView.as_view(), name='markdownx_markdownify'),
|
||||
]
|
||||
|
|
|
|||
Loading…
Reference in a new issue