[Python] Django PWA offline template not showing

Discussão em 'Python' iniciado por Stack, Julho 8, 2025.

  1. Stack

    Stack Membro Participativo

    why my django pwa offline template is not showing i checked everthing is in its position and also there is to typo mistakes my offline.html is in write path templates/patients/offline.html and i also added PWA_APP_OFFLINE_TEMPLATE = 'patients/offline.html' in my settings.py and also in my project urls.py

    `urlpatterns = [

    path('admin/', admin.site.urls),

    path('',include('patients.urls')),

    path('', include('pwa.urls')),
    ]`


    my pwa is working fine but online my offline template is not showing i checked in devtools in chrome and in application my service worker and manifest.json is good and activated and in also cache storage i see that /offline/ anyone can help to solve this issue

    Continue reading...

Compartilhe esta Página