Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to solve compatibility with django 4. #91

Closed
GEORGES-DTECH opened this issue Sep 29, 2022 · 4 comments
Closed

How to solve compatibility with django 4. #91

GEORGES-DTECH opened this issue Sep 29, 2022 · 4 comments

Comments

@GEORGES-DTECH
Copy link

GEORGES-DTECH commented Sep 29, 2022

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
Copy link

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

@GEORGES-DTECH
Copy link
Author

GEORGES-DTECH commented Sep 30, 2022 via email

@hartungstenio
Copy link
Collaborator

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

@GEORGES-DTECH
Copy link
Author

GEORGES-DTECH commented Dec 20, 2022 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants