On Thu, Sep 23, 2010 at 1:03 PM, Howard Wolf <hwrd...@gmail.com> wrote:

> class TaxonomyPhylum(models.Model):
>    name = models.CharField(max_length=100, unique=True)
>    superior=taxonomy_kingdom = models.ForeignKey(TaxonomyKingdom,
> null=True, blank=True)
>

Do you want that ForeignKey field to be named superior or taxonomy_kingdom?
Right now you've got 2 equal signs in there, and somehow that is causing
Django to try to create two columns with the 2nd name (taxonomy_kingdom_id).

Karen
-- 
http://tracey.org/kmt/

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-us...@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.

Reply via email to