21👍
✅
I believe you’ll need to have a custom Response object, consider following:
response = HttpResponse("", status=302)
response['Location'] = "appdev://..."
return response
Source:stackexchange.com