From 1acc95d3a672e800a9056ed0215c8d9b3ffdf35f Mon Sep 17 00:00:00 2001 From: Chelsey Beck <64881557+chelseybeck@users.noreply.github.com> Date: Sat, 4 Mar 2023 10:51:19 -0800 Subject: [PATCH] Update import statement to align with latest version of Django django.conf.urls is deprecated in Django 4.0.x --- docs/installation.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/installation.rst b/docs/installation.rst index 04a24c8..52134e6 100644 --- a/docs/installation.rst +++ b/docs/installation.rst @@ -48,7 +48,7 @@ following to your project ``urls.py`` file: .. code-block:: python import django - from django.conf.urls import url + from django.urls import re_path as url from django.views.i18n import JavaScriptCatalog # Your normal URLs here...