django-pwa
django-pwa copied to clipboard
Compatibility Issue with Django 4.0
Hello,
I upgraded an old project of mine from Django 3 to 4. And I found a compatibility issue while integrating your module with the project.
BR,
At least one compatibility issue is with the use of django.conf.urls.url(), removed in Django 4.
See: https://stackoverflow.com/a/70319607/3674106
Assalam, I have the same error, I think the "url" should be changed to "re_path" in "import url" since "url" is deprecated in Django 4. Thank you.
This issue is fixed once #88 has been accepted.
Downloaded the latest version. Still getting an error with this.
/lib/python3.8/site-packages/pwa/urls.py", line 1, in
The fixed version is not published yet, you can surely circumvent this by installing the package directly from GitHub as it's in the master branch:
poetry add git+https://github.com/silviolleite/django-pwa
In case you aren't using poetry yet:
pip install git+https://github.com/silviolleite/django-pwa
Thanks Lucas. Much appreciated.
On Fri, 22 Jul, 2022, 9:07 pm Lucas de Almeida Carotta, < @.***> wrote:
The fixed version is not published yet, you can surely circumvent this by installing the package directly from GitHub as it's in the master branch:
poetry add git+https://github.com/silviolleite/django-pwa
In case you already aren't using poetry https://python-poetry.org/ yet:
pip install git+https://github.com/silviolleite/django-pwa
— Reply to this email directly, view it on GitHub https://github.com/silviolleite/django-pwa/issues/83#issuecomment-1192700490, or unsubscribe https://github.com/notifications/unsubscribe-auth/ALOCZQFKQUSVQD4G35YUYFDVVK54VANCNFSM5LRTPH3Q . You are receiving this because you commented.Message ID: @.***>
I had the same issue as at today. In case you also encounter same, navigate to the pwa/urls.py
change, "from django.conf.urls import urls" to from django.urls import re_path . Hope it helps someone
Hello. I just released 1.1.0 with the contents of master branch and the fix introduced by #68 .