-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

I propose this solution:

   {!x  x}

Or at least:

   {% verbatim x %}
   {% x %}

Where 'x' can be replaced by any other string:

   {!! {!x  x} !}

   {!xx {!x  x} xx}

   {!maystring {!x  x} maystring}

   {% verbatim - %}

   {% verbatim x %}
   {% x %}

   {% - %}

For example, this::

   {!!
       {% block content %}
       {% endblock %}
   !}

   or

   {% verbatim - %}

       {% block content %}
       {% endblock %}

   {% - %}

Will be parsed as::

   {% block content %}
   {% endblock %}


This proposal is very similar to heredoc [1]:

   << EOF
   some content
   EOF

[1]: http://en.wikipedia.org/wiki/Here_document


- -- 
                 Mantas aka sirex
      __o                                   /\
    _ \<,_   -- launchpad.net/~sirex --  /\/  \
___(_)/_(_)_____________________________/_/    \
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk1N228ACgkQrRc2Mrd7P8X/OACfSXLl7/Z8z0CULLIFsDcUXoZW
x40AoJZK4s5IfEeTG6u3nE/Uk+ekYEII
=/QkB
-----END PGP SIGNATURE-----

-- 
You received this message because you are subscribed to the Google Groups 
"Django developers" group.
To post to this group, send email to django-developers@googlegroups.com.
To unsubscribe from this group, send email to 
django-developers+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-developers?hl=en.

Reply via email to