"std" changed to "tg" in templates + Rad status

1 view
Skip to first unread message

Kevin Dangoor

unread,
Feb 23, 2006, 11:41:38 AM2/23/06
to turbo...@googlegroups.com
I've just committed Michele's patch to change the "std" standard
variable holder to "tg" in templates. std should still work, but there
will be deprecation warnings if you use it.

Also an update on Rad (0.9a1): I'm going to go through the pending
patches now to see if there's anything else I want to take right now.
Otherwise, Rad is all set and just needs a little additional work on
the preview site before I'll tag it and release it. Fingers crossed
that I'll be able to do so before my flight to Dallas.

Kevin

--
Kevin Dangoor
Author of the Zesty News RSS newsreader

email: k...@blazingthings.com
company: http://www.BlazingThings.com
blog: http://www.BlueSkyOnMars.com

Jorge Godoy

unread,
Feb 23, 2006, 2:28:51 PM2/23/06
to turbo...@googlegroups.com
"Kevin Dangoor" <dan...@gmail.com> writes:

> I've just committed Michele's patch to change the "std" standard
> variable holder to "tg" in templates. std should still work, but there
> will be deprecation warnings if you use it.

Will, e.g., tg.url perform exactly like std.url? 'cause I've found out that
it doesn't give me full URL like in turbogears.url in Python code...


--
Jorge Godoy <jgo...@gmail.com>

Kevin Dangoor

unread,
Feb 23, 2006, 2:36:02 PM2/23/06
to turbo...@googlegroups.com

essentially, tg = std + a DeprecationWarning. tg.url == turbogears.url
(that's how it's defined).

Kevin

isaac

unread,
Feb 23, 2006, 3:22:42 PM2/23/06
to turbo...@googlegroups.com
On 2/23/06, Kevin Dangoor <dan...@gmail.com> wrote:

> Fingers crossed
> that I'll be able to do so before my flight to Dallas.


That reminds me... will there be a video of your talk on TG at PyCon?

That would be really helpful to popularizing TG and helping people to learn it.

Wish I could be there...

Kevin Dangoor

unread,
Feb 23, 2006, 3:51:53 PM2/23/06
to turbo...@googlegroups.com

Mark's talk is actually the one that would help people learn
TurboGears. My talk is more usability oriented. I've actually recorded
a screencast version of my talk already, but I won't post it until
after I give it live on Sunday :)

Kevin

isaac

unread,
Feb 23, 2006, 5:25:35 PM2/23/06
to turbo...@googlegroups.com
Cool, looking forward to it. So ahh, then, is somebody taping Mark's?

Richard Standbrook

unread,
Feb 23, 2006, 5:31:17 PM2/23/06
to turbo...@googlegroups.com
I *think* there are going to be podcasts of some of PyCon.

http://us.pycon.org/AudioVideoRecording/HomePage

On 2/23/06, isaac <ner...@gmail.com> wrote:

Mark Ramm

unread,
Feb 23, 2006, 11:39:52 PM2/23/06
to turbo...@googlegroups.com
I'll try to get some screencast, podcast, or something together if the
PyCon people don't do it.

--Mark

On 2/23/06, isaac <ner...@gmail.com> wrote:


--
Mark Ramm-Christensen
email: mark at compoundthinking dot com
blog: www.compoundthinking.com/blog

Michele Cella

unread,
Feb 24, 2006, 5:38:45 AM2/24/06
to TurboGears

Regarding Jorge problem, I was wondering, is turbogears.url able to
find the RootController when called from inside a template?

Ciao
Michele

Jorge Vargas

unread,
Feb 24, 2006, 8:34:33 AM2/24/06
to turbo...@googlegroups.com
yea that will be great for those of us that could not go.

Kevin Dangoor

unread,
Feb 24, 2006, 10:23:06 AM2/24/06
to turbo...@googlegroups.com
On 2/24/06, Michele Cella <michel...@gmail.com> wrote:
> Regarding Jorge problem, I was wondering, is turbogears.url able to
> find the RootController when called from inside a template?

Yep. That code works at the request level, so it should be able to
find the RootController even in templates.

Kevin

Reply all
Reply to author
Forward
0 new messages