Well I was thinking, that since while in development, I name the app by its
name.

And when I have the app deployed, i have the folder named init (so web2py
picks it up as the default)(i probably wont use two apps on one domain)

So if i just use the routes_out and only specify it for /init/static then in
my special case it will work for both development and deployment without
changing a line of code.

I like that :)

However, if your app is named the same during development and deployment,
then you have a conflict, and still have to at least comment the line out of
routes_out =/

But since that is likely never going to be the case with me, i'm not too
worried about it

-Thadeus




On Mon, Sep 21, 2009 at 12:40 AM, Álvaro Justen [Turicas] <
[email protected]> wrote:

> S = lambda filename: URL(r=request, c='static', f=filename)
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"web2py-users" 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/web2py?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to