Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
def change_view(self, request, object_id, form_url='', extra_context=None):
request.method = 'GET'
return super(ImpostorAdmin, self).change_view(request, form_url, extra_context)