Revert "[bug 963088] Fix deprecation warnings in manage.py"

This reverts commit 31bf7c8c762e72019b7a021c13ee4b3828b66749.