Naoko
I ma facing the problem of updating primary key automatically in django
with postgresql database
Could you please suggest what need to be done.
Do we need to create a sequence for the table to achieve this.
Hoping for your reply
On Sunday, May 29, 2011 at 8:32:45 PM UTC+5:30, Nao
I was missing this from schema:
ALTER SEQUENCE tablename_colname_seq OWNED BY tablename.colname;
Now everything is happy. Thank you!
On 5/28/11 8:32 AM, "Naoko Reeves" wrote:
> Malcolm, Thank you for your advice!
> I changed my model as follows:
> poll_key = models.AutoField(primary_key=Tr
2 matches
Mail list logo