title: Making sure django model was properly saved
body: <p>When saving a django model using it's save method is there any way to make sure nothing happened during save and send a message to the user? I was thinking of the message framework and try except block?</p>
  
  <pre><code>try:
      model.save()
      add success message to message framework
  except DatabaseError:
      add error message to message framework
  except TransactionManagementError:
      add error message
  </code></pre>
  
  <p>Is this the right way to do that?Also which exception is more likely to be raised when trying to save a new instance of a model?I fairly new to django so be kind :)</p>