mirror of
https://github.com/ae-utbm/sith.git
synced 2025-08-03 07:39:55 +00:00
@@ -167,10 +167,10 @@ def sas_notification_callback(notif):
|
|||||||
count = Picture.objects.filter(is_moderated=False).count()
|
count = Picture.objects.filter(is_moderated=False).count()
|
||||||
if count:
|
if count:
|
||||||
notif.viewed = False
|
notif.viewed = False
|
||||||
notif.param = "%s" % count
|
|
||||||
notif.date = timezone.now()
|
|
||||||
else:
|
else:
|
||||||
notif.viewed = True
|
notif.viewed = True
|
||||||
|
notif.param = "%s" % count
|
||||||
|
notif.date = timezone.now()
|
||||||
|
|
||||||
class PeoplePictureRelation(models.Model):
|
class PeoplePictureRelation(models.Model):
|
||||||
"""
|
"""
|
||||||
|
Reference in New Issue
Block a user