From 961c0dd2a50b8bbe4afe63c604ac570be560a2e6 Mon Sep 17 00:00:00 2001 From: SDE Date: Fri, 26 Jan 2024 18:26:37 +0300 Subject: [PATCH 1/3] 0.12.8 switch off push for static pages --- GeneralApp/funcs.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/GeneralApp/funcs.py b/GeneralApp/funcs.py index 61cc0d8..b324515 100644 --- a/GeneralApp/funcs.py +++ b/GeneralApp/funcs.py @@ -39,7 +39,7 @@ def get_inter_http_respose(template_obj, context_Dict, request): title = getattr(context_Dict['page'], 'title', None) text = getattr(context_Dict['page'], 'description', None) - if text and title and not request.user.is_anonymous: - send_push(user=request.user, title=title, text=text) + # if text and title and not request.user.is_anonymous: + # send_push(user=request.user, title=title, text=text) return HttpResponse(template_obj.render(context_Dict, request)) \ No newline at end of file From 1a4498d19f766f3f111f15896353e0f99d85bc0f Mon Sep 17 00:00:00 2001 From: SDE Date: Fri, 26 Jan 2024 19:00:47 +0300 Subject: [PATCH 2/3] 0.12.9 fix allauth google cancel --- TWB/urls.py | 1 + 1 file changed, 1 insertion(+) diff --git a/TWB/urls.py b/TWB/urls.py index 3fbaabd..35a0ac9 100644 --- a/TWB/urls.py +++ b/TWB/urls.py @@ -14,6 +14,7 @@ urlpatterns = [ path('i18n/', include('django.conf.urls.i18n')), path('accounts/signup/', login_View, name='signup'), + path('accounts/social/login/cancelled/', login_View), path('accounts/', include('allauth.urls')), path('accounts/', include('allauth.socialaccount.urls')), From 649dbab9013521fc988d811def736410d63df666 Mon Sep 17 00:00:00 2001 From: SDE Date: Fri, 26 Jan 2024 19:02:17 +0300 Subject: [PATCH 3/3] 0.12.10 fix allauth google cancel --- TWB/urls.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/TWB/urls.py b/TWB/urls.py index 35a0ac9..45731c3 100644 --- a/TWB/urls.py +++ b/TWB/urls.py @@ -14,7 +14,7 @@ urlpatterns = [ path('i18n/', include('django.conf.urls.i18n')), path('accounts/signup/', login_View, name='signup'), - path('accounts/social/login/cancelled/', login_View), + path('accounts/login/cancelled/', login_View), path('accounts/', include('allauth.urls')), path('accounts/', include('allauth.socialaccount.urls')),