from django.urls import path from . import views app_name = "mobile" urlpatterns = [ # PWA plumbing. path("manifest.webmanifest", views.ManifestView.as_view(), name="manifest"), path("sw.js", views.ServiceWorkerView.as_view(), name="service_worker"), path("icon/.png", views.AppIconView.as_view(), name="icon"), path("push/subscribe/", views.PushSubscribeView.as_view(), name="push_subscribe"), # Member mode (M1-M7). path("", views.HomeView.as_view(), name="home"), path("calendar/", views.CalendarView.as_view(), name="calendar"), path("events//", views.EventDetailView.as_view(), name="event_detail"), path("news//", views.NewsDetailView.as_view(), name="news_detail"), path("me/", views.MeView.as_view(), name="me"), path("me//edit/", views.EditProfileView.as_view(), name="edit_profile"), path("notifications/", views.NotificationsView.as_view(), name="notifications"), ]