Remove invalid function reference in manage.py