While generating page content, I would like to insert urls similar to
the current page url but with some of the arguments changed. I was
thinking on the lines of someting like this:
def myurl(params=None, **kw):
if params is not None:
params.update(kw)
else:
params = kw
basepath, args = some_cherrypy_func() #?
args.update(params)
return turbogears(basepath, args)
or even extending turbogears.url to behave like this if there is no
first parameter (tgpath).
My biggest problem is "some_cherrypy_func". Is there something like
this?
Or is there already an easy way to make such urls?
qvx
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---