mirror of
https://github.com/Hopiu/django-markdownx.git
synced 2026-03-16 21:40:24 +00:00
Merge pull request #2 from AbhinavOmprakash/AbhinavOmprakash-update-documentation
updated urlpatterns to use path instead of url
This commit is contained in:
commit
a9834ae930
1 changed files with 2 additions and 2 deletions
|
|
@ -16,7 +16,7 @@ Add MarkdownX URL patterns to your `urls.py`. You can do this using either of th
|
|||
```python
|
||||
urlpatterns = [
|
||||
# [...]
|
||||
url(r'^markdownx/', include('markdownx.urls')),
|
||||
path('markdownx/', include('markdownx.urls')),
|
||||
]
|
||||
```
|
||||
|
||||
|
|
@ -27,7 +27,7 @@ from django.conf.urls import url, include
|
|||
from markdownx import urls as markdownx
|
||||
|
||||
urlpatterns += [
|
||||
url(r'^markdownx/', include(markdownx))
|
||||
path('markdownx/', include(markdownx)),
|
||||
]
|
||||
```
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue