Closed therealjohndion closed 1 year ago
Duplicate of https://github.com/stephenmcd/mezzanine/issues/2054
The workaround is to set bleach<6 in your requirements.txt
The pull request https://github.com/stephenmcd/mezzanine/pull/2059 has not yet been merged, but you could always fork the repo and apply it yourself if you really want to use bleach 6.0
Thank you so much I am excited there is a fix and i will have a site soon. But can you be more specific and explain what I now need to do like im ten?
specifically, I am trying to figure it out on my own, but where is requirements.txt, and what command do i have to run to update (downgrade) the package bleach?
explain what I now need to do like im ten?
Likely the fastest/easiest solution for you would be to run pip install "Bleach<6"
.
The above advice is predicated on several assumptions about how you have things set up and how you have installed Mezzanine. If you are using a virtual environment, type which pip
to be sure you are running the pip
command associated with said environment.
Like everything in Python/Django/Mezzanine:
Thanks a lot my friend for your work contributions and help. I should figure it out now.
Is there an existing issue for this?
Current Behavior
TypeError at /admin/blog/blogpost/add/
Request Method: | POST -- | -- http://unixhideout.solutions:8000/admin/blog/blogpost/add/ 4.2.1 TypeError unsupported operand type(s) for +: 'frozenset' and 'list' /home/mike/mezzanine/lib/python3.11/site-packages/mezzanine/utils/html.py, line 113, in escape django.contrib.admin.options.add_view /home/mike/mezzanine/bin/python 3.11.3 ['/home/mike/mezzanine/mezzanine_project', '/usr/lib/python311.zip', '/usr/lib/python3.11', '/usr/lib/python3.11/lib-dynload', '/home/mike/mezzanine/lib/python3.11/site-packages'] Mon, 29 May 2023 03:14:08 +0000Expected Behavior
It should post my content. This is a default install. Im learning, but i dont think ive done anything wrong (yet.) As soon as i go add a page or content i get the above error. Thanks for any help.
Steps To Reproduce
create a page or blog post
Environment
Anything else?
No response