Merge pull request #221 from Reena-cell/develop

ATM file name change
This commit is contained in:
Simon Redfern 2022-09-16 10:40:50 +02:00 committed by GitHub
commit 642bece088
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 1 additions and 1 deletions

View File

@ -335,7 +335,7 @@ class UpdateAtmsView(LoginRequiredMixin, FormView):
except Exception as e:
messages.error(self.request, e)
return super(UpdateAtmsView, self).form_invalid(form)
msg = 'Atm {} for Bank {} has been created successfully!'.format( # noqa
msg = 'Atm {} for Bank {} has been update successfully!'.format( # noqa
data["atm_id"], data["bank_id"])
messages.success(self.request, msg)
return super(UpdateAtmsView, self).form_valid(form)