quick update: django-assets now supporting Jinja 2

Since I’ve been playing a round with Jinja a bit the last few days, I needed django-assets to support it as well. So it can now be used with both Django and Jinja templates, even simultaneously. So far, the code is only in bzr, not packaged up. Details in the Readme, though it’s all pretty straightforward.

I initially had some trouble porting the Django template tag to a Jinja extension, partly due a seemingly limited number of examples out there – so if you’re in the same boat, maybe this will help.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s