Can't get query strings in production mode but in development every thing is fine

i have a django app that should get query string params. and this works fine in my localhost. but when on deployed the app on python linux host , it encountered 500 server error. there isn't any errors in the stdr.log file .

my url:


my view:

    model_foo= TestModel(name = request.GET.get("foo"))
    return HttpResponse("done")

thanks for helping

Back to Top