Check if logged in user is the author of a post | Django | If-else doesn't work
Check if logged in user is the author of a post | Django | If-else doesn't work Question: I want to check if the logged in user is the author of a post in my Forum. I have written some code to figure that out: <div class="right-section-posts"> user: {{ user }} <!–Output: Admin–> author: {{ …