-
Notifications
You must be signed in to change notification settings - Fork 109
Open
Description
Recently I tried to use it with Django 4.2 (current LTS) and ran into this error:
File "/Users/username/.venvs/work/lib/python3.11/site-packages/restless/dj.py", line 4, in <module>
from django.conf.urls import url
ImportError: cannot import name 'url' from 'django.conf.urls' (/Users/username/.venvs/work/lib/python3.11/site-packages/django/conf/urls/__init__.py)
See: https://docs.djangoproject.com/en/dev/internals/deprecation/#deprecation-removed-in-4-0
django.conf.urls.url() will be removed.
It seems the url function was deprecated in Django 3.x and is no longer supported in 4.x. Thus, we will have to update this. https://stackoverflow.com/a/70319607
However, it seems this library is not maintained (Re: #135), so even if I submitted a PR I am not sure it would do anyone any good. Hence, opening this issue for others to stumble upon when they inevitably upgrade.
Metadata
Metadata
Assignees
Labels
No labels