Thanks for your responses.
The problem here is that there are some "dirty" solutions to this problem,
but i'm sure there is a good way to proceed with it.
This issue should be really simple to resolve if django make use of classes
instead of functions for views, and then, template would be benefi
On Thursday, March 17, 2011 11:35:55 AM UTC, chubz wrote:
>
> What I've found as a solution, though I don't know how much it is
> recommended as a programming practice is to have your variable defined in a
> "custom" request context and then use that request context instead of the
> default one.
What I've found as a solution, though I don't know how much it is
recommended as a programming practice is to have your variable defined in a
"custom" request context and then use that request context instead of the
default one.
You create you request context and based on the default context then
Hi folks,
Currently i'm getting trouble with a single feature in django. When i've
some inheritance in templates, like the following
TemplateA
TemplateB inherits A
TemplateC inherits B
TemplateD inherits B
If I need to define something depending on provided data in TemplateA or
TemplateB, then
4 matches
Mail list logo