On Mar 22, 2011, at 10:03 AM, cootetom wrote:
> I'm using the psycopg2 python library and have tried postgresql 8 and
> now 9.
> 
> The error, in brief, is:
> 
> "
> Template error
> In template c:\python26\lib\site-packages\django\contrib\admin
> \templates\admin\base.html, error at line 58
> Caught DatabaseError while rendering: current transaction is aborted,
> commands ignored until end of transaction block


Look in the postgres log file, by default it should log the first error and the 
subsequent errors

If not, you can add:
        log_statement = 'all'
to your postgresql.conf and see every statement...

Jason

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