Skip to content

Instantly share code, notes, and snippets.

View elishowk's full-sized avatar
🗑️
Full-stack freelancer (node&python mostly)

elias showk elishowk

🗑️
Full-stack freelancer (node&python mostly)
View GitHub Profile
@elishowk
elishowk / postprocess_sekizai.py
Created February 10, 2012 15:07 — forked from timmyomahony/postprocess_sekizai.py
django-sekizai postprocessor for enabling django-compressor compatibility
"""
Get django-sekizai, django-compessor (and django-cms) playing nicely together
re: https://github.com/ojii/django-sekizai/issues/4
using: https://github.com/jezdez/django_compressor.git
and: https://github.com/ojii/django-sekizai.git@0.5
"""
from compressor.templatetags.compress import CompressorNode
from django.template.base import *
def compress(data, name):