Re: Django Offline

2021-04-19 Thread Abid Mohamed Nadhir
I've found the solution i created the service worker manually and created a URL for it. then I've called it in the main.html template Thanks For replying Le dimanche 18 avril 2021 à 20:22:22 UTC+1, Ryan Nowakowski a écrit : > Typically JavaScript is treated as a static file: > > https://docs.dja

Re: Django Offline

2021-04-18 Thread Ryan Nowakowski
Typically JavaScript is treated as a static file: https://docs.djangoproject.com/en/3.2/howto/static-files/ On April 18, 2021 11:25:53 AM CDT, Abid Mohamed Nadhir wrote: >Hello, I'm trying to implement a django project with service worker, >i'm >wondering where to put my service worker? >Thank