shinneider/django-admin-search

Replace url with re_path

Closed this issue · 1 comments

apacha commented

I'd like to use the tool with Django 4, but url has been deprecated.

I found this issue https://stackoverflow.com/questions/70319606/importerror-cannot-import-name-url-from-django-conf-urls-after-upgrading-to, which suggests to replace url with re_path from from django.urls import re_path.

apacha commented

Sorry, wrong project...