Pylons 0.97 has deprecated the url_for function, in preference to the 'url' function. It works similarly, with a few differences:
1) It doesn't remember the current route, so all parts of the target have to be specified.
2) You can pass URLs to it and it will prepend the WSGI SCRIPT_NAME environment variable.
Using 'url' for EVERY URL link allows us to host sloecode at different prefixes (such as '/sloecode/' or similar). I have run sloecode at a custom prefix and verified that everything seems to work (after a lot of template tweaking).
Pylons 0.97 has deprecated the url_for function, in preference to the 'url' function. It works similarly, with a few differences:
1) It doesn't remember the current route, so all parts of the target have to be specified.
2) You can pass URLs to it and it will prepend the WSGI SCRIPT_NAME environment variable.
Using 'url' for EVERY URL link allows us to host sloecode at different prefixes (such as '/sloecode/' or similar). I have run sloecode at a custom prefix and verified that everything seems to work (after a lot of template tweaking).