UnacceptableVersionError: django 1.1 was requested, but 1.2.1.final.0 is already in use
The Django version I have in my machine is 1.2.1, while one of my apps running on Google App Engine utilizes use_library to use Django 1.1. Apparently, Django versions later than 1.1 is not included in the Google App Engine SDK. So everytime I try to access my app on my dev machine, I get [...]
How to find Django version
There are cases when you would want to know the version of Django that is being used in your Python installation. To do that, go to your Python console and execute the following commands: >>> import django >>> django.VERSION In my machine, it showed the following: (1, 2, 1, ‘final’, 0)
Using GAE Testbed with GAEUnit: Testing that email was sent
In my quest for testing if emails are being sent by my app engine app, I came across GAE Testbed. GAE Testbed … is a set of base test cases to make it simple to test the more complicated pieces of AppEngine’s framework (such as sending E-mail messages, the datastore, Memcache, etc.) Since I’m already using [...]
Install setuptools in Fedora 12
From the Python Package Index page, setuptools allows you to Download, build, install, upgrade, and uninstall Python packages — easily! The PEAK Development Center, setuptools … is a collection of enhancements to the Python distutils (for Python 2.3.5 and up on most platforms; 64-bit platforms require a minimum of Python 2.4) that allow you to more [...]
Convert CHM to PDF in (Fedora) Linux
I’ve been looking for a way to print CHM files in (Fedora) Linux, since my CHM file viewer, chmsee, doesn’t have a print option (and probably all other CHM file viewers as well). Searching for CHM to PDF converters in Fedora led me to chm2pdf. chm2pdf has a couple of requirements: chmlib pychm htmldoc To [...]
