#2721: [patch] Allow block tags to be commented out
-----------------------------+----------------------------------------------
 Reporter:  SmileyChris      |       Owner:  adrian
     Type:  enhancement      |      Status:  new   
 Priority:  normal           |   Milestone:        
Component:  Template system  |     Version:        
 Severity:  normal           |    Keywords:        
-----------------------------+----------------------------------------------
 Rather than having a new tag for comments (see ticket #648), it would be
 useful to be able to comment out block tags in code (this could be easily
 extended to variable tags too).
 
 This is could provide the similar functionality as #648 since you can use
 the block tag as a comment, `{%# MY COMMENT %}`, without requiring a new
 template tag format.
 
 Example:
 {{{
 {% #if female - always show for now %}
 <p>You're a girl!</p>
 {% #endif %}
 }}}

-- 
Ticket URL: <http://code.djangoproject.com/ticket/2721>
Django <http://code.djangoproject.org/>
The web framework for perfectionists with deadlines.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-updates
-~----------~----~----~----~------~----~------~--~---

Reply via email to