#3192: [patch] Noisier bugs in context processors
-----------------------------------------------+----------------------------
   Reporter:  Jeremy Dunck <[EMAIL PROTECTED]>  |                Owner:  nobody 
               
     Status:  closed                           |            Component:  
Template system       
    Version:  SVN                              |           Resolution:  invalid 
              
   Keywords:                                   |                Stage:  Design 
decision needed
  Has_patch:  1                                |           Needs_docs:  0       
              
Needs_tests:  0                                |   Needs_better_patch:  1       
              
-----------------------------------------------+----------------------------
Changes (by ubernostrum):

  * status:  new => closed
  * resolution:  => invalid

Comment:

 Unless I'm misunderstanding, this is invalid: a context processor *must*
 return a dictionary, even if it's empty, and the pattern for a processor
 which wants to return nothing is to return an empty dictionary (much as
 template nodes can render to an empty string if they don't want to output
 anything).

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