[EMAIL PROTECTED] schrieb:
> Few days ago I've started to get such errors in the Admin Panel when I
> want to add something:
> ##################################
> IntegrityError: ERROR:  duplicate key violates unique constraint
> "rk_news3_pkey"
> 
> INSERT INTO "rk_news3"
> ("news_title","news_text","news_more","news_date","news_keywords")
> VALUES ('testtitle','test text','','2006-10-17 12:10:00.106753','foo
> bar')
> ###################################
> It worked before and I can add things from the "user view" (forum
> works). I use postgresql and django-SVN. I've reset the counters  (like
> ALTER SEQUENCE rk_page1_id_seq RESTART 1;) but it still throw this
> error.

We'd need to see your model. And, why did you restart the sequences?

Michael


--~--~---------~--~----~------------~-------~--~----~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users
-~----------~----~----~----~------~----~------~--~---

Reply via email to