title: Django Database create_or_update error
body: <p>So the definition for the pcaps table is :</p>
  
  <pre><code>class Pcaps(models.Model):
      uuid = models.CharField(max_length=50, unique=True)
      filename = models.CharField(max_length=200, default='')
      datetime = models.DateTimeField(default=datetime.now, blank=True)
      filehash = models.ForeignKey(Malwares)
      systemuuid = models.ForeignKey(ClonedSystem)
  </code></pre>
  
  <p>the definition for the malware table is:</p>
  
  <pre><code>class Malwares(models.Model):
      name = models.CharField(max_length=100)
      filehash = models.CharField(max_length=100, unique=True)
  </code></pre>
  
  <p>the code from the views file is:</p>
  
  <pre><code>    Pcaps.objects.update_or_create(filename=pcapname, filehash=filehash, systemuuid=uuid)
  </code></pre>
  
  <p>the malware value is instantiated at:</p>
  
  <pre><code>    Malwares.objects.update_or_create(name=name, filehash=malwarehash)
  </code></pre>
  
  <p>the error I am getting is:</p>
  
  <blockquote>
    <p>invalid literal for int() with base 10: 'ed01ebfbc9eb5bbea545af4d01bf5f1071661840480439c6e5babe8e080e41aa'</p>
  </blockquote>
  
  <p>(ed01... being the <code>filehash</code> value)</p>
  
  <p>What error am I making here?</p>