Adjustment of manage.py according to django 1.5