mirror of
https://expo.survex.com/repositories/troggle/.git
synced 2025-12-18 22:27:08 +00:00
remaining shared-use machine cookie tyimeouts set
This commit is contained in:
@@ -410,7 +410,7 @@ def new_image_form(request, path):
|
||||
)
|
||||
save_original_in_expofiles(f, year, form.cleaned_data["photographer"], host, image_rel_path, referer)
|
||||
j_response = JsonResponse({"html": html_snippet})
|
||||
j_response.set_cookie('editor_id', editor, max_age=get_cookie_max_age()) # does NOT work updating who_are_you cookie - because it is JsonResponse not HttpResponse.
|
||||
j_response.set_cookie('editor_id', editor, max_age=get_cookie_max_age(request)) # does NOT work updating who_are_you cookie - because it is JsonResponse not HttpResponse.
|
||||
return j_response
|
||||
else:
|
||||
# print(f"new_image_form(): not POST ")
|
||||
|
||||
Reference in New Issue
Block a user