MoritzS / jinja2-django-tags

jinja2 extensions that add django tags
MIT License
41 stars 10 forks source link

Possible integration with django-jinja #1

Closed niwinz closed 9 years ago

niwinz commented 9 years ago

Hi!

I'm a django-jinja developer and maintainer.

First of all, great work. I thinking that it make sense join forces and integrate that into django-jinja directly. If you are interested we can talk how we can colaborate.

Making this extensions easy available for all versions of django, not only django 1.8.

That do you thing about?

MoritzS commented 9 years ago

Yeah, sure!

strig commented 9 years ago

Do it! The {% load %} tag is breaking django-debug-toolbar for me. It would be great to have it included in django-jinja.

MoritzS commented 9 years ago

This library doesn't include the {% load %} tag and besides, I don't think it's possible to easily have django-debug-toolbar work with jinja2 because it uses several internals of django's templating engine.

strig commented 9 years ago

@MoritzS you're right, I think I meant the {% trans %} tag actually. Anyways, I just figured out how to use the django template backend to render all the debug-toolbar templates instead.

niwinz commented 9 years ago

I'm currently using .jinja extension for my jinja templates that makes this task very easy. I'm currently using the debug-toolbar in serveral projects that uses django-jinja ;)

MoritzS commented 9 years ago

I mentioned django-jinja in the Readme.

I think, I can close this now.