streeter / django-db-readonly

Force an entire site to become readonly. In a sort of hackish way.
MIT License
108 stars 21 forks source link

Fix _last_executed exception #3

Closed igniteflow closed 10 years ago

igniteflow commented 10 years ago

I was getting the following exception on POST:

'Cursor' object has no attribute '_last_executed'

adding _last_executed as an empty string works for me

streeter commented 10 years ago

Hm, do you have a test case that I can use to reproduce this?