I see now what you mean. I can really use that.
Thanks for the answer!
Michael
2011/1/27 Shawn Milochik
> I think you're looking for context processors.
>
>
> http://docs.djangoproject.com/en/dev/ref/templates/api/#writing-your-own-context-processors
>
> You write functions that add to the cont
I think you're looking for context processors.
http://docs.djangoproject.com/en/dev/ref/templates/api/#writing-your-own-context-processors
You write functions that add to the context each page receives. That info is
available in the template regardless of which view called the rendering.
Shawn
Hello everyone,
I'm a while busy with coding in Django applications.
Now i have a question, because what I want to do,
doesn't work right.
if I request the url: http://localhost/shorts/
I have a short template who gives me messages.
This template is loaded in a default template base.html.
Now i
3 matches
Mail list logo