What db backend do you use? On Mar 22, 11:15 pm, "GvaderTh" <[EMAIL PROTECTED]> wrote: > > ProgrammingError:ERROR: currenttransactionisaborted, commands > ignored until end oftransaction > > block > > SELECT 1 FROM "django_session" WHERE > "session_key"='eeeb9f812d055dc8838271bc628556fe' LIMIT 1 > > Does anyone know where is it come from? or what I'm doing wrong? > Thanks for any tip
FYI, if some underlying SQL statement fails, postgresql does not tolerate any further action during the same transaction, other than "rollback". I.e. if your view did some get_or_create() and it failed, your transaction remains in error state. That is, there is some SQL error in the view function, probably protected within the try...except block. HTH (I know, I'm a bit late, sorry :) --~--~---------~--~----~------------~-------~--~----~ 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?hl=en -~----------~----~----~----~------~----~------~--~---