From f7945ac36ea58a9d73522212079f054300b35e72 Mon Sep 17 00:00:00 2001 From: Andrew Jesaitis Date: Sun, 20 Nov 2016 15:30:19 -0700 Subject: [PATCH] Remove extra notification --- accounts/views.py | 1 - 1 file changed, 1 deletion(-) diff --git a/accounts/views.py b/accounts/views.py index 2ba15e5..1eed1c5 100644 --- a/accounts/views.py +++ b/accounts/views.py @@ -55,7 +55,6 @@ def post(self, request, *args, **kwargs): if 'submit_code' in request.POST: if code_form.is_valid(): code_form.process_code(user=request.user) - messages.success(self.request, "Group code accepted") else: messages.error(self.request, "Group code was invalid") code_form = self.code_form_class(request=self.request)