Changes between Initial Version and Version 1 of Ticket #12108


Ignore:
Timestamp:
Oct 28, 2009, 4:41:59 PM (15 years ago)
Author:
Alex Gaynor
Comment:

Please use preview.

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #12108 – Description

    initial v1  
    22
    33I am getting the following error when I try to insert a row in the table.
    4 
     4{{{
    55psycopg2.ProgrammingError: current transaction is aborted, commands ignored until end of transaction block
    6 
     6}}}
    77The commands i am using are
    8 
    9 a = route('113','NORTH','TRUE')
     8{{{
     9>>> a = route('113','NORTH','TRUE')
    1010>>> a.save()
    11 
     11}}}
    1212
    1313The model created for route is
    14 
     14{{{
    1515class route(models.Model):
    1616    routeid           =  models.AutoField(primary_key=True)
     
    2222        return self.name
    2323
    24 
     24}}}
    2525The table has been created and I am able to insert value using the posgre interface. Please help me out on this problem
Back to Top