Update manage.py for Django 1.6 and below