how to restore the django admin settings to the database code example Example: django shell python manage.py shell