Commit 8a95f715 authored by Skia's avatar Skia

trombi: add missing quick notif

Signed-off-by: Skia's avatarSkia <skia@libskia.so>
parent de96c07b
Pipeline #1089 passed with stage
in 4 minutes and 24 seconds
......@@ -135,7 +135,9 @@ class TrombiDetailView(CanEditMixin, QuickNotifMixin, TrombiTabsMixin, DetailVie
if form.is_valid():
try:
TrombiUser(user=form.cleaned_data['user'], trombi=self.object).save()
except: pass # We don't care about duplicate keys
self.quick_notif_list.append("qn_success")
except: # We don't care about duplicate keys
self.quick_notif_list.append("qn_fail")
return super(TrombiDetailView, self).get(request, *args, **kwargs)
def get_context_data(self, **kwargs):
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment