Showing all 5 blog posts for May 2009.
-
Testing Django Views for Concurrency Issues (Updated for Django 4.2 in 2024)
Editor's note: This post was originally published in May, 2009 and was updated in December, 2024 to incorporate changes in Django and improvements suggested by our readers. It ... Read more
May 26, 2009 -
Explicit Table Locking with PostgreSQL and Django
By default, Django doesn't do explicit table locking. This is OK for most read-heavy scenarios, but sometimes you need guaranteed, exclusive access to the data. Caktus uses Post... Read more
May 26, 2009 -
Parsing Microseconds in a Django Form
There's currently no way to accept microsecond-precision input through a Django form's DateTimeField. This is an acknowledged bug, but the official solution might not come very ... Read more
May 26, 2009 -
Seamlessly switch off (and on) a Django (or other WSGI) site for upgrades
In preparation for migrating the EveryWatt database from one machine to another, I wrote this little WSGI script to easily disable the site while I copy the data. Since it doesn... Read more
May 25, 2009 -
Eclipse Ganymede and Subclipse on Ubuntu - JavaHL (JNI) not available
I finally got around to updating my Eclipse, PyDev, and Subclipse environment today, which I use for Django development. Formerly I was using the SvnKit (pure-Java) libraries. S... Read more
May 21, 2009