modified manage.py