#8773: Context processors must be in context_processors.py ---------------------------+------------------------------------------------ Reporter: shacker | Owner: nobody Status: new | Milestone: Component: Documentation | Version: 1.0-alpha-2 Keywords: | Stage: Unreviewed Has_patch: 0 | ---------------------------+------------------------------------------------ Documentation does not specify in which file to create context processor functions. They must be defined in context_processors.py , not in views.py. Otherwise the TEMPLATE_CONTEXT_PROCESSORS setting will fail to recognize them as context processors. This apparent requirement should be documented at:
http://www.djangoproject.com/documentation/templates_python/#subclassing- context-requestcontext -- Ticket URL: <http://code.djangoproject.com/ticket/8773> 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 -~----------~----~----~----~------~----~------~--~---
