Skip to content

Commit

Permalink
commit changes in deleting customers
Browse files Browse the repository at this point in the history
  • Loading branch information
marzim committed Feb 16, 2017
1 parent 75f6459 commit 7da177c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion customers/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ def editcustomer(id):
customer.address = request.form['address']
customer.mobile_phone = request.form['mobile_phone']
db.session.commit()
#flash(u'Record successfully saved.', 'success')
flash(u'Record successfully saved.', 'success')
return redirect(url_for('customers.customers'))
elif not name_exist is None:
flash('Name ' + new_name + ' is already taken. Please choose another name.','danger')
Expand Down

0 comments on commit 7da177c

Please sign in to comment.