I figured this out.  I my __unicode__(self) still refered to the
field! Doh!

I changed it, reran syncdb, and restarted the server and it worked.
Not sure if rerunning syncdb was necessary.

--
John

On Feb 1, 12:44 pm, John Abraham <jabra...@ucalgary.ca> wrote:
> Hi.
>
> I changed models.py to remove a foreign key (user_id field in table
> Client), and reran syncdb, but now if I try to create a record of that
> type in the admin interface I get an error when I try to save a new
> object.

-- 
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