niwinz / django-jinja

Simple and nonobstructive jinja2 integration with Django.
http://niwinz.github.io/django-jinja/latest/
BSD 3-Clause "New" or "Revised" License
363 stars 102 forks source link

add user to context to be compatible with old templates #169

Closed zhasm closed 8 years ago

niwinz commented 8 years ago

Hi @zhasm First of all, thanks for your efforts!

I think that this kind of thinks can be done directly in the userspace. The user is something out of concept of template rendering and it a little bit conceptual coupling with auth and the rest of related things with it but not with templates.

Without better arguments that compatibility with "old" templates (I don't understand that you mean with old templates), I think I can't accept this PR.