-
Notifications
You must be signed in to change notification settings - Fork 23
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bleach v. 5.0 is not compatible with django-bleach 1.0 #51
Comments
Thanks for raising @beraneck. I'll drop a patch release preventing version 5 until this can be supported. |
@beraneck new release going out now. Turns out there was unreleased changes dropping old python/django so I've made it 2.0 |
v2.0 is working perfectly, thank you for the very fast fix. |
@beraneck you're welcome. Hopefully I can find some time soon to see what bleach 5 brings and incorporate it. |
skalanux
added a commit
to Devecoop/pyarweb
that referenced
this issue
Apr 11, 2022
facundobatista
pushed a commit
to PyAr/pyarweb
that referenced
this issue
Apr 20, 2022
* Added pytest as a runner * Added pytest as a runner on Makefile * Added joboffers app * Some fixes to the JobOffer model * Added initial joboffer detail * Added initial job offer add form * Changed joboffer's urls to use their namespace * Added some basic pytest's fixtures * Updated JobOffer's factory to include all the needed fields * Added joboffer creation test * Added joboffer admin page * Moved add button to bottom of the page (joboffers) * Added search button in admin page (joboffers) * Added joboffer edit view * Changed joboffer's choices to their long version * Added skeleton for joboffer publisher and test * Added publisher test * Added facebook publsiher WIP * Added support for posting to facebook WIP * Refactor publisher locations * Continue refactor of publishers * Added test for rendering tempaltes for a publisher. * Change Docstring for publisher. * Added error handling to facebook publisher. * Added test for publisher methods * Put publish method for publishers in base class * Fix typo * Added test for raw publishing of facebook messages. * Added new test to facebook publish method. * Fix linter issues * Added documentation for running the token creator * Fix linting error * Working Tweet updating example * Add skeleton of twitter publisher * More files added to twitter publisher * Fixed some wording and redundat variable declaration * Change Publisher class methods into normal methods and put publish inside the class. * Change log formatting * Removed misleading server error * Fixed linting issues * Working Tweet updating example * Add skeleton of twitter publisher * More files added to twitter publisher * Added BaseCommand for testing publishers. * Added twitter publisher tests * Added twitter publisher test for happy path * Change string representation for logging * Splited telegram notifier into an api and a notifier, so it can be reused in the telegram publisher * Added telegram publisher * Added new variable to public chat id * Added logging for telegram errors. * Fix extra quotes on error constants * Splited telegram notifier into an api and a notifier, so it can be reused in the telegram publisher * Added telegram publisher * Added new variable to public chat id * Added logging for telegram errors. * Removed redundant return value assignment * Added title to publisher * Adeded hash_secret method * Now logging secrets as hashes * Hashing credentials for telegram. * Fixed wording in log * Change lenght of body for testing message of publishers * Added environment variables for discourse * Added tests for discourse * Pin Bleach to an older version until this issue [0] gets fixed. marksweb/django-bleach#51 * Fix formatting issues * Added uuid to post titles * Added comment for pinning bleach Co-authored-by: German Podesta <german.m.podesta@gmail.com> Co-authored-by: Germán <german_podesta@yahoo.com.ar> Co-authored-by: Ian Puchetti <ianpuchetti@gmail.com>
pyguru-dev
added a commit
to pyguru-dev/python-ar-web
that referenced
this issue
Sep 29, 2023
* Added pytest as a runner * Added pytest as a runner on Makefile * Added joboffers app * Some fixes to the JobOffer model * Added initial joboffer detail * Added initial job offer add form * Changed joboffer's urls to use their namespace * Added some basic pytest's fixtures * Updated JobOffer's factory to include all the needed fields * Added joboffer creation test * Added joboffer admin page * Moved add button to bottom of the page (joboffers) * Added search button in admin page (joboffers) * Added joboffer edit view * Changed joboffer's choices to their long version * Added skeleton for joboffer publisher and test * Added publisher test * Added facebook publsiher WIP * Added support for posting to facebook WIP * Refactor publisher locations * Continue refactor of publishers * Added test for rendering tempaltes for a publisher. * Change Docstring for publisher. * Added error handling to facebook publisher. * Added test for publisher methods * Put publish method for publishers in base class * Fix typo * Added test for raw publishing of facebook messages. * Added new test to facebook publish method. * Fix linter issues * Added documentation for running the token creator * Fix linting error * Working Tweet updating example * Add skeleton of twitter publisher * More files added to twitter publisher * Fixed some wording and redundat variable declaration * Change Publisher class methods into normal methods and put publish inside the class. * Change log formatting * Removed misleading server error * Fixed linting issues * Working Tweet updating example * Add skeleton of twitter publisher * More files added to twitter publisher * Added BaseCommand for testing publishers. * Added twitter publisher tests * Added twitter publisher test for happy path * Change string representation for logging * Splited telegram notifier into an api and a notifier, so it can be reused in the telegram publisher * Added telegram publisher * Added new variable to public chat id * Added logging for telegram errors. * Fix extra quotes on error constants * Splited telegram notifier into an api and a notifier, so it can be reused in the telegram publisher * Added telegram publisher * Added new variable to public chat id * Added logging for telegram errors. * Removed redundant return value assignment * Added title to publisher * Adeded hash_secret method * Now logging secrets as hashes * Hashing credentials for telegram. * Fixed wording in log * Change lenght of body for testing message of publishers * Added environment variables for discourse * Added tests for discourse * Pin Bleach to an older version until this issue [0] gets fixed. marksweb/django-bleach#51 * Fix formatting issues * Added uuid to post titles * Added comment for pinning bleach Co-authored-by: German Podesta <german.m.podesta@gmail.com> Co-authored-by: Germán <german_podesta@yahoo.com.ar> Co-authored-by: Ian Puchetti <ianpuchetti@gmail.com>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
An error is raised while saving a model with a django_bleach.models.BleachField.
Our code was working until bleach released v. 5.0 yesterday (7th of April 2022).
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Save don't raise the error.
Stacktrace
Work around
Force the use of bleach 4.1.0 in your requirements.txt
The text was updated successfully, but these errors were encountered: