Try these links:

http://www.djangoproject.com/documentation/templates_python/#subclassing-context-requestcontext

http://www.djangoproject.com/documentation/templates_python/#writing-your-own-context-processors

-Brian

On Jun 25, 11:51 am, Juanjo Conti <[EMAIL PROTECTED]> wrote:
> I have this problem I'd like to share with you.
>
> Supose that the name of a web site is storage in the database (let's say
> you have the Config model). Config.objects.get(id=1).site_name
>
> How do you show that name in all your web pages?
>
> Do you have to pass it from all your views while render_to_response?
>
> Is there other way to do this?
>
> Thanks,
>
> Juanjo
> --
> mi blog:http://www.juanjoconti.com.ar
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to