title: In Django how to return an existing model instance when saving to database
body: <p>How do I return an instance before saving it to database?</p>
  
  <p>Below it is something similar to what I am trying to accomplish:</p>
  
  <pre><code>class Personne(models.Model):
      nom = models.CharField(max_length=100, verbose_name="Origem")
  
      def save(self, *args, **kwargs):
          found = None
          try:
              found = Personne.objects.get(nom=self.nom)
              super(Personne, self).save(*args, **kwargs)
          except AudioFile.DoesNotExist:
              return found
  
  
  def test_personne_is_the_same(self):
      p1 = Personne.objects.create(nom="Malcom X")
      p2 = Personne.objects.create(nom="Malcom X")
      self.assertEqual(p1, p2)
  </code></pre>
  
  <p>Assertion is giving:
  p1 != None</p>