Upgrade push notifications and remove compatibility shim

This commit is contained in:
lizerk 2026-09-10 20:57:37 +03:00
parent 2768d2f1b3
commit 6cfbc03503
3 changed files with 2 additions and 12 deletions

View File

@ -101,7 +101,7 @@ INSTALLED_APPS = [
"projects.apps.ProjectsConfig",
"tasks.apps.TasksConfig",
"guests.apps.GuestsConfig",
"eusrr_backend.third_party_apps.PushNotificationsConfig", # Web Push
"push_notifications", # Web Push
]
MIDDLEWARE = [

View File

@ -1,10 +0,0 @@
"""Compatibility settings for third-party applications with historical schemas."""
from django.apps import AppConfig
class PushNotificationsConfig(AppConfig):
# django-push-notifications 3.1 ships integer primary keys in its migrations.
# Do not inherit our project's BigAutoField and invent third-party migrations.
name = "push_notifications"
default_auto_field = "django.db.models.AutoField"

View File

@ -59,7 +59,7 @@ django-fsm-2==4.2.4
rules==3.5
# Push Notifications
django-push-notifications==3.1.0
django-push-notifications==3.3.0
py-vapid==1.9.2
pywebpush==2.1.2
http_ece==1.2.1