On 12/29/06, medhat <[EMAIL PROTECTED]> wrote:
But I am responding mainly to
say that it seems that comments {# #} have the same issue; so something
like:
{#
{% if x %}
blah blah blah
{% endif %}
#}
will not be commented out. And I think this is a far more common
scenario.
Just
I've tried to use comments tags like that too. So just for comments
alone this seems like a good idea to me. If it doesn't interfere with
anything else of course.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Dja
I don't really feel strongly either way about these tags since I can
see the argument that if the tag is too long maybe that means that the
template is doing more than it should. But I am responding mainly to
say that it seems that comments {# #} have the same issue; so something
like:
{#
{% i
On 12/29/06, Adrian Holovaty <[EMAIL PROTECTED]> wrote:
On 12/28/06, limodou <[EMAIL PROTECTED]> wrote:
>
> I found if I write the tag like that:
>
> {{{
> {% extends
> "base.html" %}
> }}}
>
> Django will complains an error about it. So I check the source code,
> and I found that if you change
On 12/29/06, limodou <[EMAIL PROTECTED]> wrote:
On 12/29/06, Adrian Holovaty <[EMAIL PROTECTED]> wrote:
>
> On 12/28/06, limodou <[EMAIL PROTECTED]> wrote:
> >
> > I found if I write the tag like that:
> >
> > {{{
> > {% extends
> > "base.html" %}
> > }}}
> >
> > Django will complains an error a
On 12/28/06, limodou <[EMAIL PROTECTED]> wrote:
I found if I write the tag like that:
{{{
{% extends
"base.html" %}
}}}
Django will complains an error about it. So I check the source code,
and I found that if you change the code (template/__init__.py):
I'd rather not allow newlines within b
I found if I write the tag like that:
{{{
{% extends
"base.html" %}
}}}
Django will complains an error about it. So I check the source code,
and I found that if you change the code (template/__init__.py):
{{{
tag_re = re.compile('(%s.*?%s|%s.*?%s|%s.*?%s)' %
(re.escape(BLOCK_TAG_START), re.esc