Update settings import in migrations/management, remove unused setting.