Merge pull request #2 from AbhinavOmprakash/AbhinavOmprakash-update-documentation

updated urlpatterns to use path instead of url
This commit is contained in:
Abhinav Omprakash 2020-09-16 18:19:44 +05:30 committed by GitHub
commit a9834ae930
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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)),
]
```