On Wednesday 02 June 2010 04:04 AM, Shailesh Kochhar wrote:
I had to figure this out too and it keeps coming up as a question. The
short answer is:
1. In controllers, add: "from pylons import url" and then use url().
You can add this to a central place and use it in all your controllers.
2. In templates, just use url(), it's available and works.
Hi Shailesh, are these the only 2 changes to majorly watch out?
Meaning, will these 2 changes ensure that my application will work
properly with version 1.0?
Happy hacking.
Krishnakant.
--
You received this message because you are subscribed to the Google Groups
"pylons-discuss" 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/pylons-discuss?hl=en.