fix: theme toggle not saving correctly

This commit is contained in:
Herculino Trotta
2025-11-12 00:10:42 -03:00
parent d3f8a637bc
commit 2bc5e24e51
2 changed files with 4 additions and 3 deletions

View File

@@ -145,7 +145,7 @@ def toggle_theme(request):
elif request.session["theme"] == "wygiwyh_light":
request.session["theme"] = "wygiwyh_dark"
else:
request.session["theme"] = "wygiwyh_dark"
request.session["theme"] = "wygiwyh_light"
return HttpResponse(
status=204,