If you are using 0.8.9 then its std.url.  in 0.9 it's depricated in
favor for tg.*. No need to import anything.

On 7/6/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>
> Hello all,
>
> Just started playing with TurboGears, and it looks good.  Very
> impressive!
>
> However, the problem I have is that tg.url() just doesn't work.  In
> fact, I can't access any of the methods of the tg object, and I suspect
> it does not exist.  The error is:
>
> File "C:\work\wiki20\wiki20\templates\page.py", line 89, in _pull
> NameError: name 'tg' is not defined
>
>
>
> Also, raise turbogears.redirect("/", pagename=pagename) fails out.  The
> error is:
>
> AttributeError: 'module' object has no attribute 'redirect'
>
>
>
> Is there something I'm not doing?  I've got the latest stable release
> of everything, so it should be working fine.
>
> Thanks!
>
> Daniel Greenfeld
> Senior Software Engineer
> NASA
>
>
> >
>


-- 
cheers
    elvelind grandin

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"TurboGears" 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/turbogears
-~----------~----~----~----~------~----~------~--~---

Reply via email to