#14792: error in the default for TEMPLATE_CONTEXT_PROCESSORS
---------------------------------------------+------------------------------
          Reporter:  [email protected]  |         Owner:  nobody           
                   
            Status:  new                     |     Milestone:                   
                   
         Component:  Documentation           |       Version:  SVN              
                   
        Resolution:                          |      Keywords:  settings 
TEMPLATE_CONTEXT_PROCESSORS
             Stage:  Accepted                |     Has_patch:  0                
                   
        Needs_docs:  0                       |   Needs_tests:  0                
                   
Needs_better_patch:  0                       |  
---------------------------------------------+------------------------------
Comment (by lawgon):

 actually I noticed this problem because request was not available in the
 template even though I was passing it through RequestContext. It only
 became available when I added the requisite TEMPLATE_CONTEXT_PROCESSOR in
 settings.py. Apparently it does not take it from global_settings.py. I
 have seen this on about 4 sites in different locations and platforms. Just
 looked at global_settings.py and find that
 'django.core.context_processors.request' has been commented out - that
 looks like the source of my problem.

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