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.djangoproject.com/en/3.2/howto/static-files/
>
>
> On April 18, 2021 11:25:53 AM CDT, Abid Mohamed Nadhir <
> abidmoha...@gmail.com> wrote:
>>
>> Hello, I'm trying to implement a django project with service worker, i'm 
>> wondering where to put my service worker?
>> Thanks
>>
>>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/21114ae4-70e3-4bc5-a0b9-cc36c183d064n%40googlegroups.com.

Reply via email to