Fix new notif
This commit is contained in:
parent
a377f45e0b
commit
8da03aebb0
1 changed files with 1 additions and 1 deletions
|
@ -382,7 +382,7 @@ class ProblemAdmin(CompareVersionAdmin):
|
||||||
category = "Problem public: " + str(obj.is_public)
|
category = "Problem public: " + str(obj.is_public)
|
||||||
if orgs:
|
if orgs:
|
||||||
category += " (" + ", ".join(orgs) + ")"
|
category += " (" + ", ".join(orgs) + ")"
|
||||||
make_notification(users, html, category, request.profile)
|
make_notification(users, category, html, request.profile)
|
||||||
|
|
||||||
def construct_change_message(self, request, form, *args, **kwargs):
|
def construct_change_message(self, request, form, *args, **kwargs):
|
||||||
if form.cleaned_data.get("change_message"):
|
if form.cleaned_data.get("change_message"):
|
||||||
|
|
Loading…
Reference in a new issue