def _redirect(self, request, response):
if '<STR_LIT>' in request.POST:<EOL><INDENT>return HttpResponseRedirect('<STR_LIT>')<EOL><DEDENT>elif '<STR_LIT>' in request.POST:<EOL><INDENT>return HttpResponseRedirect('<STR_LIT>')<EOL><DEDENT>elif '<STR_LIT>' in request.POST:<EOL><INDENT>return response<EOL><DEDENT>return HttpResponseRedirect('<STR_LIT>')<EOL>
Generic redirect for item editor.