Ticket #1931: update_object_redirect.diff
File update_object_redirect.diff, 577 bytes (added by , 18 years ago) |
---|
-
create_update.py
107 107 errors = manipulator.get_validation_errors(new_data) 108 108 manipulator.do_html2python(new_data) 109 109 if not errors: 110 manipulator.save(new_data)110 object = manipulator.save(new_data) 111 111 112 112 if not request.user.is_anonymous(): 113 113 request.user.message_set.create(message="The %s was updated successfully." % model._meta.verbose_name)