Site Network: freakymousemats | portal | smashingbloke | regenology

the weblog

Occasional musings that fall out of my brain and on to the site. Occasionally more occasional than I'd like. But will try to fix that.

Django Everywhere

Posted by stephen on Tuesday, 04th September, 2007 @ 19:41

Following on from the previous post, I've been asked how I'm turning a Django app into a Windows application. Well, I found a rather useful description of how someone else did it. Things are made simple by using SQLite instead of a full on DB for the backend, and a great bit of software called cx_Freeze that captures everything a Python app needs to run and turns it into a .EXE file that works anywhere.

Also on the Django front, I was perusing the Django blog and was excited to see that Django works on the iPhone. And I'm not talking about the admin interface working through the browser, I'm talking about running a Django app resident on the phone itself. What a great way to build apps that work when the phone is offline! And the link above discusses using pickles in Python to effectively cache data for offline use from an online source. Great stuff.

Made with Django.