Did you create the table using django?
Can you post the table definition in postgresql?

If you still have an empty database, you could try dropping the id
column and  do a django  dbsync

otherwise you may have to create a sequence and apply it to the id
field. Something along the lines of:

create sequence id_seq start 1 increment 1;
alter table xxx alter column id set default nextval('id_seq');

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