From 5ba8e9412c4e9e0995c5bacfe690b9e7e884a3c8 Mon Sep 17 00:00:00 2001 From: Abhinav Omprakash <55880260+AbhinavOmprakash@users.noreply.github.com> Date: Wed, 16 Sep 2020 18:18:42 +0530 Subject: [PATCH] updated urlpatterns to use path instead of url --- docs-src/getting_started.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs-src/getting_started.md b/docs-src/getting_started.md index d67c584..e9c0ea9 100644 --- a/docs-src/getting_started.md +++ b/docs-src/getting_started.md @@ -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)), ] ```