minor manage.py code update