Front-end notification model

Context processor to count notifications for display in base template
Logging handler to generate notifications for users with permission
This commit is contained in:
Adarnof
2016-02-13 05:25:57 +00:00
parent a75391f270
commit 1d99ef69d1
10 changed files with 83 additions and 1 deletions

View File

@@ -61,6 +61,7 @@ INSTALLED_APPS = (
'sigtracker',
'optimer',
'corputils',
'notifications',
)
MIDDLEWARE_CLASSES = (
@@ -126,6 +127,7 @@ TEMPLATE_CONTEXT_PROCESSORS = (
'util.context_processors.domain_url',
'util.context_processors.member_api_mask',
'util.context_processors.blue_api_mask',
'notifications.context_processors.user_notification_count',
)
TEMPLATE_DIRS = (