Skip to content
This repository has been archived by the owner on Jan 22, 2021. It is now read-only.

RelatedPosts templatetag. #41

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

pmourelle
Copy link

This templatetag receives as parameter a Post instance (from template), and fills the given context variable ('related_posts' by default) with a queryset of all posts that share tags with it, ordered upside down "tags shared".

This templatetag receives as parameter a Post instance (from template), and fills the given context variable ('related_posts' by default) with a queryset of all posts that share tags with it, ordered upside down "tags shared".
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant