I think the problem is that you used IntegerField instead of AutoField.

http://docs.djangoproject.com/en/1.3/ref/models/fields/#autofield

However, why even bother? Why not get rid of that field and use the built-in id field that you're going to get from a Django model? There's no benefit at all -- you're just duplicating what would happen automatically. Plus, it's causing you all this trouble and wasting your time.

Shawn



--
You received this message because you are subscribed to the Google Groups "Django 
users" group.
To post to this group, send email to django-users@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