[Answer]-Redirect to another view with dictionary data in django

1👍

You need to add “add_user_to_rfqentry” to your urls.py if you want to do it that way. You can find the information in the documentation.

If you are going to redirect you HAVE to set your urls.py. In the other hand if all you want is to call another function you can do something like:

def wufoo_post_data(request, form_hash):
    ...
    return add_user_to_rfqentry(request, data)

def add_user_to_rfqentry(request, data):
    return HttpResponse('OK')

That is not a redirect, just a call to another function.

Leave a comment