You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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)
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.
The text was updated successfully, but these errors were encountered:
@toastdriven do you still maintain this library? Is there anyone who can help get this fix out? I think #129 is cleaner and will probably take the least time to review since there are some small refactoring changes in #134
Recently I tried to use it with Django 4.2 (current LTS) and ran into this error:
See: https://docs.djangoproject.com/en/dev/internals/deprecation/#deprecation-removed-in-4-0
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/70319607However, 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.
The text was updated successfully, but these errors were encountered: