title: how do catch A 'UNIQUE constraint failed' 404 in django
body: <p>How do I specifically catch a UNIQUE constraint failed 404 in the following code, I know I have to add something in the ( here? ) section</p>
  
  <pre><code>try:
      q = AnswerModel(user=user, yes_question=question_model)
      q.save()
  except ( here? ):
      return HttpResponseRedirect('/user/already_exists')
  </code></pre>