#3075: Ifequal tag extension to handle mask operators
---------------------------------------+------------------------------------
   Reporter:  yopi <[EMAIL PROTECTED]>  |                Owner:  adrian         
     Status:  reopened                 |            Component:  Template system
    Version:                           |           Resolution:                 
   Keywords:                           |                Stage:  Accepted       
  Has_patch:  0                        |           Needs_docs:  0              
Needs_tests:  0                        |   Needs_better_patch:  0              
---------------------------------------+------------------------------------
Changes (by GomoX <[EMAIL PROTECTED]>):

 * cc: [EMAIL PROTECTED] (added)

Comment:

 I don't think the syntax is very intuitive. Although "ifequal a b or c"
 can be mentally parsed to "if a == b or a == c", it takes quite a bit of
 guesswork. I think adding "==" support to plain if would be nicer, or
 maybe even changing the syntax to "ifequal a b or a c", so that it is
 clear what you are comparing.

-- 
Ticket URL: <http://code.djangoproject.com/ticket/3075#comment:8>
Django Code <http://code.djangoproject.com/>
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?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to