Add deprecation warning to the CreateAndRedirectToEditView. PEP8 fixes.