2008/3/31 张沈鹏(电子科大 毕/就业倒计时...) <[EMAIL PROTECTED]>:
> but with pylons 0.97beta3 and webhelpers0.6
>
>  if I use ${h.url_for()}
>  it apper error as below ........
>  ⇝  AttributeError: 'module' object has no attribute 'url_for'

There is some rearrangement happening in WebHelpers right now; that is
why Pylons 0.9.7 has not been released yet.    In the meantime, you
can hack your copy of WebHelpers to restore the missing import:

in webhelpers/__init__.py:

    from routes import url_for, redirect_to

-- 
Mike Orr <[EMAIL PROTECTED]>

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