Login

Snippets by sbaechler

Snippet List

Git Revision Template Tag

This displays the short commit id from the current HEAD. Add this to your admin/base_site.html or any other template. {% block userlinks %} /&nbsp;HEAD: <span style="color:yellow">{% git_short_version %}</span> /&nbsp; {{ block.super }} {% endblock %}

  • git
Read More

Pretty Paginator Tag

This is a modified version of the (http://djangosnippets.org/snippets/73/) paginator snippet. It works with the django paginator.

  • paginator
  • 'digg style'
Read More

sbaechler has posted 3 snippets.