fixes bug 1019064 - unbreak tests after django 1.4.13 upgrade, r=Pike