django-custom-tag

Teleport - django custom tag

Help please with a django custom tag. Analize it please! Idea: In any template (parent or child), we installing a tag {{ telepoint "head" }}, with a name, such putters could be more than one. At other side, we have block {{ teleputter "head" "unique-name" }} some html {{ teleputterend }} Content of this block goes to telepoint wit...

Django, custom tag... how?

Hi guys, i would like to make a django custom tag for display 10 entry title from the category where the user is reading a article... but how ill do?, i need to send the category from the actual entry... Any idea? Thanks ...

django avatar custom template tag

My site is quite visual and I would like to make use of users avatars all over the site so I think that writing a custom template tag is the best way to go. My UserProfile is associated with a User and has an profile_pic. I am making use of django-imagekit and hence the ImageModel comes into play class UserProfile(ImageModel): p...