On 4/8/06, Max Ischenko <[EMAIL PROTECTED]> wrote:
> > > And then?
> > >
> > > Should RootController provide .default() implementation that would check 
> > > attributes to
> > find a suitable static resource?
> >
> > So, you've already created StaticFile and StaticDirectory? That's
> > groovy. I hadn't really thought much about the immediate application.
>
> No, I'm not. Sorry to mislead you.

No worries. I was probably just overeager in my interpretation of what
you wrote :)

> > The easiest thing to do for what you're talking about is to add it to
> > the quickstart template and use
> > pkg_resources.resource_filename("%(package)s", "static")
>
> Eh, sorry?
>
> Can you explain what that means?

Elvelind said it. The %{package}s in a quickstart template, by the
way, will get replaced by the package name of the newly generated
project.

Kevin

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"TurboGears Trunk" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/turbogears-trunk
-~----------~----~----~----~------~----~------~--~---

Reply via email to