/ Published in: Django
                    
                                        Instead of directly edit your TEMPLATE\_CONTEXT\_PROCESSORS, import it in your app's settings.py and just append what you need.
(credits: denysonique and all #django channel community)
                (credits: denysonique and all #django channel community)
                            
                                Expand |
                                Embed | Plain Text
                            
                        
                        Copy this code and paste it in your HTML
 from django.conf.global_settings import TEMPLATE_CONTEXT_PROCESSORS TEMPLATE_CONTEXT_PROCESSORS += ('your.context.preprocessors')
Comments
                    Subscribe to comments
                
                