It doesn't work with Django 4.1
aleixmorgadas opened this issue · comments
Aleix Morgadas commented
Error:
# -*- coding: utf-8 -*-
"""
URLs.
"""
> from django.conf.urls import include, url
E ImportError: cannot import name 'url' from 'django.conf.urls' (.../.venv/lib/python3.11/site-packages/django/conf/urls/__init__.py)
../../../.venv/lib/python3.11/site-packages/health_check/urls.py:5: ImportError
I saw the deprecation notice here. https://docs.djangoproject.com/en/dev/internals/deprecation/#deprecation-removed-in-4-0
Jens Nistler commented
What release are you using?
This package uses path
from django.urls
, see https://github.com/revsys/django-health-check/blob/3.17.0/health_check/urls.py
Aleix Morgadas commented
We are using 3.17.0 😕
I will take a closer look
Jens Nistler commented
@aleixmorgadas can this be closed?
Aleix Morgadas commented
Sure
Jens Nistler commented
Would you mind?