Re: Passing additional variables to flatpage template
On Sat, Apr 14, 2012 at 9:27 PM, Swaroop Shankar V <swaroopsv@gmail.com> wrote:
> Hi All,
>
> Am using flatpage app in my application. I want to send
> few additional variables that can be accessible from the flatpage templates.
> So how can i accomplish the same?
>
You cannot. The only way to get additional variables into the template
context when using flatpages is to use TEMPLATE_CONTEXT_PROCESSORS, as
flatpages are rendered using a RequestContext.
Cheers
Tom
--
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 django-users+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home