Adding some charset info to make sure mod_wsgi doesn't puke on UTF-8 encoded strings. Also added a "-d" (debug enable) switch to the RPi client so that it only prints out debug information if you want it to. Finally, I added a try except block around the database insert code in the server daemon so that the whole daemone doesn't crash when there is an error.
Made a few minor changes to the RPi client.
Made good progress tonight with the client and server apps. Added the socket connection and SensorReading object to hold the sensor readings (surprise).
Adding work to rpi_client from this weekend.
I'm finally starting to put all the pieces together and build the RPI client. So far so good, although I still need to work a few details. I also reorganized my "test scripts" into a proper library so that I can call the relevant code from my client program.