Templatetag
django-templatetag-sugar is a library to make writing template tags in Django sweet. Here's an example of using: @tag(register, [Constant("for"), Variable(), Optional([Constant("as"), Name()])]): def example_tag(context, val, asvar=None): if asvar: context[asvar] = val return "" else:...
Platforms: *nix
License: Freeware | Size: 10.24 KB | Download (33): django-templatetag-sugar Download |
django-ifnav-templatetag is a Django plugin with ifnav template tag. #md5=c72699a525d9796d5523041738ebcdb6
Platforms: *nix
License: Freeware | Size: 10.24 KB | Download (44): django-ifnav-templatetag Download |
django-templatetag-handlebars allows you to embed Handlebars.js templates in your django templates. Most of the template tag code comes from Miguel Araujo's verbatim snippet.
Platforms: *nix
License: Shareware | Cost: $0.00 USD | Size: 20.48 KB | Download (38): django-templatetag-handlebars Download |
Utilities for django-cms. Features: - multiple placeholders in non-page models using a custom field, admin and a template filter - a templatetag to set a rendered placeholders output as a variable in templates Setup - pip install djangocms-utils - add 'djangocms_utils' to INSTALLED_APPS
Platforms: *nix
License: Freeware | Size: 10.24 KB | Download (39): djangocms-utils Download |
django-generic-flatblocks is a Django plugin that solves this problem as it knows nothing about the content itself. You attach your hand made content node (a simple model) where you can define any fields you want. Installation 1. Insert django_generic_flatblocks to your INSTALLED_APPS in your...
Platforms: *nix
License: Freeware | Size: 10.24 KB | Download (41): django-generic-flatblocks Download |
A templatetag for easier integration of mustache.js javascript templates with Django templates. Inspired by ICanHaz.js, django-icanhaz, and jquery.mustache.
Platforms: *nix
License: Shareware | Cost: $0.00 USD | Size: 10.24 KB | Download (39): django-mustachejs Download |
This new templatetag, include_strip, works exactly the same as the default include template tag provided by Django. The only difference is that the strip method is applied to the result, to remove leading and trailing spaces. The aim is to remove the unwanted space added in text when including...
Platforms: *nix
License: Freeware | Size: 10.24 KB | Download (41): django-include-strip-tag Download |
This module helps you for connecting title, keywords, descriptions to any django model trought ContentTypes. It's contains database model, templatetag and inline-form for Django-admin page.
Platforms: *nix
License: Shareware | Cost: $0.00 USD | Size: 10.24 KB | Download (39): asv_seo Download |
The motivation behind this project is that most countries have different forms of postal addresses e.g. http://www.bitboost.com/ref/international-address-formats.html , http://en.wikipedia.org/wiki/Address_%28geography%29 This app assumes that all postal addresses worldwide can be made up of 5...
Platforms: *nix
License: Freeware | Size: 10.24 KB | Download (44): django-postal Download |
This technique has been desribed by Adrian Holovaty in this blog post and previously by Honza Kral. The idea is to first render the template with certain blocks denoted as "phased," such that they will not be rendered, and will remain valid template code that can be rendered with a second pass....
Platforms: *nix
License: Freeware | Size: 10.24 KB | Download (32): django-phased Download |
Inlinetrans is a django application that allows the translation of django templates from the rendered html in the browser. Once you have your templates internationalized with inlinetrans, you can click on the untranslated messages in their corresponding web pages to add their translations....
Platforms: *nix
License: Freeware | Size: 30.72 KB | Download (38): django-inlinetrans Download |
A simple and efficient paginator. Jinja2 is supported via Coffin: {% with paginate(request, my_queryset) as results %} {{ results.paging }} {% for result in results.objects %} {{ result }} {% endfor %} {{ results.paging }} {% endwith %} Django templatetags require...
Platforms: *nix
License: Freeware | Size: 10.24 KB | Download (40): django-paging Download |
This is a simple template tag that selects a template based on the content type of the model passed to it. This presents a convention that allows models to be displayed in certain ways For instance, for a list of blog entries: diario/entry_archive_day.html ... {% represent entry as...
Platforms: *nix
License: Freeware | Size: 10.24 KB | Download (36): django-representations Download |