nephila / djangocms-blog

django CMS blog application - Support for multilingual posts, placeholders, social network meta tags and configurable apphooks
https://djangocms-blog.readthedocs.io
BSD 3-Clause "New" or "Revised" License
391 stars 192 forks source link

Missing `force_str` #780

Closed adrien-delhorme closed 6 months ago

adrien-delhorme commented 6 months ago

Using the plugin BlogFeaturedPostsPluginCached raises an exception: TypeError: __str__ returned non-string (type __proxy__)

Because this method does not call force_str: https://github.com/nephila/djangocms-blog/blob/d95802c1475fc7e06ba121a178bb0e755be9bba9/djangocms_blog/models.py#L608

protoroto commented 6 months ago

@adrien-delhorme Thanks for reporting this: will try to fix and release a new version today

protoroto commented 6 months ago

@adrien-delhorme We've just released 2.0.6 version: could you please check if now it's working as expected?

adrien-delhorme commented 6 months ago

It's working. Thanks!