tweaks to django1.7 post