silviolleite / django-pwa

Looks like an app, feels like an app, but IS NOT an app.
MIT License
541 stars 112 forks source link

How to solve compatibility with django 4. #91

Closed GEORGES-DTECH closed 1 year ago

GEORGES-DTECH commented 2 years ago

Go into the installed pwa app in your urls.Its using regular expressions instead of path(...). change it to use path as shown below:

from django.urls import path from .views import manifest, service_worker

urlpatterns = [ path('serviceworker.js/', service_worker), path('manifest.json', manifest) ]

dhenderson commented 2 years ago

@GEORGES-DTECH exactly what I needed, thanks for this.

GEORGES-DTECH commented 2 years ago

You welcome

On Fri, Sep 30, 2022, 3:29 PM David Henderson @.***> wrote:

@GEORGES-DTECH https://github.com/GEORGES-DTECH exactly what I needed, thanks for this.

— Reply to this email directly, view it on GitHub https://github.com/silviolleite/django-pwa/issues/91#issuecomment-1263510723, or unsubscribe https://github.com/notifications/unsubscribe-auth/AOTDQAI2H52KADMO3VHF7OTWA3MKXANCNFSM6AAAAAAQYYIYOM . You are receiving this because you were mentioned.Message ID: @.***>

hartungstenio commented 1 year ago

Hello. I will close this issue. Let's focus discussions in #83

GEORGES-DTECH commented 1 year ago

Good,if you solved it.

On Tue, Dec 20, 2022, 3:39 PM Christian Hartung @.***> wrote:

Hello. I will close this issue. Let's focus discussions in #83 https://github.com/silviolleite/django-pwa/issues/83

— Reply to this email directly, view it on GitHub https://github.com/silviolleite/django-pwa/issues/91#issuecomment-1359296873, or unsubscribe https://github.com/notifications/unsubscribe-auth/AOTDQAM2CICXETIQZMJ2MA3WOGSIZANCNFSM6AAAAAAQYYIYOM . You are receiving this because you were mentioned.Message ID: @.***>