On Tue, Jun 24, 2008 at 7:25 AM, Jonathan Vanasco <[EMAIL PROTECTED]> wrote:
> I'm trying to make two other objects available to all templates.
>
> I'm wondering what the best practice would be.
>
> Looking at pylons.templating, I'm honestly a bit confused about what
> is going on.
>
> ( and if you're wondering: object1 is a version of pylons.c that is
> for the underlying framework we built on pylons ; object2 is a second
> version that will return the value in pylons if it exists, else
> default to the object1 value )

I like to setup things like that in the parent class controller.  See
app/lib/base.py.

-jj

-- 
It's a walled garden, but the flowers sure are lovely!
http://jjinux.blogspot.com/

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"pylons-discuss" group.
To post to this group, send email to pylons-discuss@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/pylons-discuss?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to