Fix manage.py to work with newer django on post-install