mirror of
https://github.com/ae-utbm/sith.git
synced 2026-10-04 01:44:15 +00:00
simplify poster moderation
This commit is contained in:
1 parent
b8429a510f
commit
118a08372f
7 files changed
+148
-185
No files matched your search
+1
-3
@@ -402,9 +402,7 @@ class Poster(models.Model):
|
||||
groups__id__in=[settings.SITH_GROUP_COM_ADMIN_ID]
|
||||
):
|
||||
Notification.objects.create(
|
||||
user=user,
|
||||
url=reverse("com:poster_moderate_list"),
|
||||
type="POSTER_MODERATION",
|
||||
user=user, url=reverse("com:poster_list"), type="POSTER_MODERATION"
|
||||
)
|
||||
return super().save(*args, **kwargs)
|
||||
|
||||
|
||||
Reference in new issue
Block a user