You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am happy to submit a pull request to fix it, but is this project still maintained? it shows very little recent activity. More generally speaking, this package perfectly fits my need for a current project, so I am happy to spend some time on it if you are looking for maintainers.
The text was updated successfully, but these errors were encountered:
Bug description
In the admin portal, django escape the sharable url for all blog posts, so the display looks like this:
Instead, this page should display a clickable html link for each blog post.
This issue is caused by using a readonly field in the
PostAdmin
class, without marking the html string as "safe".pinax-blog/pinax/blog/admin.py
Line 60 in b6d8755
Step to reproduce
Create a new post through the admin portal, then visit the list of blog posts.
Additional context
Using django 3.1 but the problem exists with other versions of Django
Solution
The fix is easy, we just have to mark the html as safe to be displayed, using:
I am happy to submit a pull request to fix it, but is this project still maintained? it shows very little recent activity. More generally speaking, this package perfectly fits my need for a current project, so I am happy to spend some time on it if you are looking for maintainers.
The text was updated successfully, but these errors were encountered: