stephenmcd/mezzanine — Issue #135: "include" template tag not compatible with Django 1.3's version
Author: snanda85
Created: 2012-02-18 07:25:07+00:00
State: open

Quoting Docs of Django 1.3:

> Additional context and exclusive context.
> You can pass additional context to the template using keyword arguments:

> {% include "name_snippet.html" with person="Jane" greeting="Hello" "%}

When these new options are used in a mezzanine project, the below error is seen:

> u'include' tag takes one argument: the name of the template to be included

This happens because mezzanine overrides the "include" and "extends" template tags.
In my opinion, the new overriding tags should wrap their code around the existing tags instead of defining a complete separate code.