Skip to content

Commit 369909a

Browse files
sainakstebunovd
authored andcommitted
replaced the deprecated use of re_path alias at django.conf.urls
django.conf.urls.re_path was depricated in django 3.1 in favor of django.urls.re_path() and is removed in django 4.0 ref: https://docs.djangoproject.com/en/4.0/releases/3.1/#deprecated-features-3-1
1 parent e2f65e3 commit 369909a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

djangoql/admin.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
from django.urls import reverse
2424

2525
try:
26-
from django.conf.urls import re_path
26+
from django.urls import re_path
2727
except ImportError: # Django <2.0
2828
from django.conf.urls import url as re_path
2929

0 commit comments

Comments
 (0)