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:
path("foo",views.get_foo)
my view:
get_foo(request):
model_foo= TestModel(name = request.GET.get("foo"))
model_foo.save()
return HttpResponse("done")
thanks for helping