Chris wrote: > I have various global values, like SITE_NAME, defined in my > settings.py. How would you make settings available inside Flatpage > templates? For non-flatpages, I'm currently importing settings in my > view and explicitly passing it in render_to_response(). Do Flatpages > allow you to specify what data gets passed to them, aside from the db > page data? The simplest way would be to define a template context processor. See
http://www.b-list.org/weblog/2006/jun/14/django-tips-template-context-processors/ for some hints. regards Steve --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~----------~----~----~----~------~----~------~--~---