﻿id	summary	reporter	owner	description	type	status	component	version	severity	resolution	keywords	cc	stage	has_patch	needs_docs	needs_tests	needs_better_patch	easy	ui_ux
12108	unable to execute basic insert using djangopsycopg2.ProgrammingError: current transaction is aborted, commands ignored until end of transaction block	mckarvin@…	nobody	"Hi,

I am getting the following error when I try to insert a row in the table.
{{{
psycopg2.ProgrammingError: current transaction is aborted, commands ignored until end of transaction block
}}}
The commands i am using are
{{{
>>> a = route('113','NORTH','TRUE')
>>> a.save()
}}}

The model created for route is
{{{
class route(models.Model):
    routeid           =  models.AutoField(primary_key=True)
    name              =  models.CharField(max_length = 200)
    direction         =  models.CharField(max_length = 5)
    schedulebased     =  models.BooleanField()

    def __unicode__(self):
        return self.name

}}}
The table has been created and I am able to insert value using the posgre interface. Please help me out on this problem"		closed	Uncategorized	1.1		invalid			Unreviewed	0	0	0	0	0	0
