Making the code django 1.4.3 (latest official release at this time) compatible.