Simple fix for issue with Django 1.7rc2