django-jazzmin icon indicating copy to clipboard operation
django-jazzmin copied to clipboard

Issue on jaazy menu

Open iammerin opened this issue 3 years ago • 4 comments

I was working around, everything was OK, and then this appeared; I have no idea what caused this issue. This is normally resolved by performing a hot reload for a short period of time

File "/venv/lib/python3.8/site-packages/django/template/base.py", line 905, in rend>
gunicorn[1083953]:     return self.render(context)
gunicorn[1083953]:   File "/venv/lib/python3.8/site-packages/django/template/library.py", line 192, in r>
gunicorn[1083953]:     output = self.func(*resolved_args, **resolved_kwargs)
gunicorn[1083953]:   File "/venv/lib/python3.8/site-packages/jazzmin/templatetags/jazzmin.py", line 329,>
gunicorn[1083953]:     if request.COOKIES.get("jazzy_menu", "") == "closed":
gunicorn[1083953]: AttributeError: 'str' object has no attribute 'COOKIES'

iammerin avatar Nov 10 '21 15:11 iammerin

We are also getting the same error, using latest version of jazzmin

subhajeet2107 avatar Nov 26 '21 11:11 subhajeet2107

Is there a workaround for this issue?

Adrian-Chereghi avatar Jun 29 '22 09:06 Adrian-Chereghi

i'm getting this error too, is there a way to fix this?

linhnvhicts avatar Jun 15 '23 04:06 linhnvhicts