Sunday, June 22, 2008

Google App Engine - "'DatabaseWrapper' object has no attribute '_rollback'"

: 'DatabaseWrapper' object has no attribute '_rollback'
args = ("'DatabaseWrapper' object has no attribute '_rollback'",)
message = "'DatabaseWrapper' object has no attribute '_rollback'"

1 comment:

David said...

Are you using Django and the Google App Engine Helper for Django? I got this message with this set up and i solved it by adding
  def _rollback(self):
    pass
to the DatabaseWrapper class in the end of <project_dir>/appengine_django/db/base.py. Hope that helps.