#12068: The {% url %} parser can fail with StopIteration
---------------------------------------------+------------------------------
          Reporter:  emulbreh                |         Owner:  smoluf 
            Status:  new                     |     Milestone:  1.2    
         Component:  Template system         |       Version:  1.1    
        Resolution:                          |      Keywords:  url tag
             Stage:  Design decision needed  |     Has_patch:  0      
        Needs_docs:  0                       |   Needs_tests:  0      
Needs_better_patch:  0                       |  
---------------------------------------------+------------------------------
Changes (by alexdutton):

  * stage:  Accepted => Design decision needed

Comment:

 We currently disallow {% url view as %}, but accept {{ as }}. Should there
 be some consistency twixt the two?

 Indeed, should any attempt to pass a keyword-named variable into a Context
 throw some error?

-- 
Ticket URL: <http://code.djangoproject.com/ticket/12068#comment:4>
Django <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