title: Django postgresql foreign key
body: <p>I have this models.py</p>
  
  <pre><code>from django.db import models
  from django.contrib.auth.models import User
  
  class Service(models.Model):
      user = models.ForeignKey(User)
      name = models.CharField(max_length=800, blank=False)
      service = models.CharField(max_length=2000, blank=False)
      def __unicode__(self):
          return self.name
  
  class ServiceCheck(models.Model):
      service = models.ForeignKey(Service)
      check_status = models.CharField(max_length=80)
      check_time = models.DateTimeField()
  </code></pre>
  
  <p>When i run syncdb against postgresql it ends up with error:</p>
  
  <pre><code>~/dev-md&gt; sudo python manage.py syncdb
  Creating tables ...
  Creating table monitor_service
  Creating table monitor_servicecheck
  
  DatabaseError: Hash/Modulo distribution column does not refer to hash/modulo distribution column in referenced table.
  </code></pre>