Converted manage.py to a version compatible to 1.6