Hello,

I have changed a number of field names and definitions in my models,
and when I try to add a new record in the Django administration, I get
the following error:

currval of sequence "sample_id_seq" is not yet defined in this session

When I look at the relevant postgresql table, the sequence for the id
is named:

id   |    integer     | not null default
nextval('sample_id_seq1'::regclass)

Note: the slight change in name defined in the postgres table, and the
name of the sequence that Django is looking for.

How might I deal with this discrepancy?

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