Skip to content

Instantly share code, notes, and snippets.

@SAPikachu
SAPikachu / kwacros.py
Last active December 14, 2015 13:59 — forked from skyl/kwacros.py
Make {% loadkwacros %} be able to use variables and filters
#
# templatetags/kwacros.py - Support for macros in Django templates
#
# Based on snippet by
# Author: Michal Ludvig <michal@logix.cz>
# http://www.logix.cz/michal
#
# modified for args and kwargs by Skylar Saveland http://skyl.org
#