Yes, it seems to work.

Actually, what I had to do was modify my config/routing.py so that it
uses the new syntax where the first argument is the shortcut name. I'm
not too happy that all had to change, but it's a minor thing. One of
these days, I'll have to dig back into Routes to figure out all the
cool features it has.

On Sep 20, 8:14 pm, Bruce Wade <[email protected]> wrote:
> Oh I have never used that before. Does your code work without it?
>
> On Mon, Sep 20, 2010 at 6:51 PM, [email protected] <
>
>
>
> [email protected]> wrote:
> > It used to mean to drop all the other parameters.
>
> > On Sep 20, 5:26 pm, Bruce Wade <[email protected]> wrote:
> > > Is there any reason you are added / infront of foo??
>
> > > On Mon, Sep 20, 2010 at 5:24 PM, [email protected] <
>
> > > [email protected]> wrote:
> > > > For templates, 'url' is already defined. (Not 'h.url', just 'url').
>
> > > > I seem to have a problem when I call url thusly:
>
> > > > url(controller='/foo', action='bar')
>
> > > > These used to work with the older version of Routes and with url_for.
>
> > > > On Sep 20, 5:15 pm, Bruce Wade <[email protected]> wrote:
> > > > > search and replace url_for to url
> > > > > add: from pylons import url  to helpers
>
> > > > > :D
>
> > > > > On Mon, Sep 20, 2010 at 5:11 PM, [email protected] <
>
> > > > > [email protected]> wrote:
> > > > > > I've upgraded Routes from 1.10.3 to 1.12.3. Now, url_for isn't
> > > > > > working. It throws a GenerationException.
>
> > > > > > I've been programming on the same files for over a year now, so
> > maybe
> > > > > > I missed something between then and now. I know url_for is largely
> > > > > > deprecated, but going through and repairing all the old references
> > to
> > > > > > it is going to take a while.
>
> > > > > > Suggestions?
>
> > > > > > --
> > > > > > 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]<pylons-discuss%[email protected]>
> > <pylons-discuss%[email protected]<pylons-discuss%[email protected]>
>
> > > > <pylons-discuss%[email protected]<pylons-discuss%[email protected]>
> > <pylons-discuss%[email protected]<pylons-discuss%[email protected]>
>
> > > > > > .
> > > > > > For more options, visit this group at
> > > > > >http://groups.google.com/group/pylons-discuss?hl=en.
>
> > > > > --
> > > > > --
> > > > > Regards,
> > > > > Bruce Wadehttp://
>
> > ca.linkedin.com/in/brucelwadehttp://www.wadecybertech.comhttp://www.warplydesigned.comhttp://www.f.
> > ..
>
> > > > --
> > > > 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]<pylons-discuss%[email protected]>
> > <pylons-discuss%[email protected]<pylons-discuss%[email protected]>
>
> > > > .
> > > > For more options, visit this group at
> > > >http://groups.google.com/group/pylons-discuss?hl=en.
>
> > > --
> > > --
> > > Regards,
> > > Bruce Wadehttp://
> > ca.linkedin.com/in/brucelwadehttp://www.wadecybertech.comhttp://www.warplydesigned.comhttp://www.f...
>
> > --
> > 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]<pylons-discuss%[email protected]>
> > .
> > For more options, visit this group at
> >http://groups.google.com/group/pylons-discuss?hl=en.
>
> --
> --
> Regards,
> Bruce 
> Wadehttp://ca.linkedin.com/in/brucelwadehttp://www.wadecybertech.comhttp://www.warplydesigned.comhttp://www.fitnessfriendsfinder.com

-- 
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.

Reply via email to