Skip to content

Commit

Permalink
Update import statement to align with latest version of Django
Browse files Browse the repository at this point in the history
django.conf.urls is deprecated in Django 4.0.x
  • Loading branch information
chelseybeck authored Mar 4, 2023
1 parent d4d00d2 commit 1acc95d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/installation.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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...
Expand Down

0 comments on commit 1acc95d

Please sign in to comment.