mirror of
https://github.com/ae-utbm/sith.git
synced 2026-10-02 08:54:18 +00:00
1 parent
d5c6695f80
commit
578fa1495d
1 file changed
+2
-2
+2
-2
@@ -167,10 +167,10 @@ def sas_notification_callback(notif):
|
||||
count = Picture.objects.filter(is_moderated=False).count()
|
||||
if count:
|
||||
notif.viewed = False
|
||||
notif.param = "%s" % count
|
||||
notif.date = timezone.now()
|
||||
else:
|
||||
notif.viewed = True
|
||||
notif.param = "%s" % count
|
||||
notif.date = timezone.now()
|
||||
|
||||
class PeoplePictureRelation(models.Model):
|
||||
"""
|
||||
|
||||
Reference in new issue
Block a user