Implement custom notification settings

This commit is contained in:
2022-12-18 17:21:52 +00:00
parent 4c463e88f2
commit 7ee698f457
9 changed files with 141 additions and 8 deletions

View File

@@ -27,6 +27,7 @@ from core.views import (
callbacks,
hooks,
limits,
notifications,
positions,
profit,
signals,
@@ -208,4 +209,9 @@ urlpatterns = [
limits.TrendDirectionList.as_view(),
name="trenddirections",
),
path(
"notifications/<str:type>/update/",
notifications.NotificationsUpdate.as_view(),
name="notifications_update",
),
] + static(settings.STATIC_URL, document_root=settings.STATIC_ROOT)