A couple proposed helpers, one for doctypes and one to generate a
complete HTML document.  What do you guys think of the API and
semantics?

http://bitbucket.org/bbangert/webhelpers/issue/13/doctype-helper

http://bitbucket.org/bbangert/webhelpers/issue/14/simple-html-template-helper

Also, I can't find a simple function to generate a URL with query
string (not using Routes).  Is there an equivalent to this somewhere
I've overlooked?

def url(urlpath, **params):
    if not params:
        return urlpath
    return urlpath + "?" + urllib.urlencode(params)



-- 
Mike Orr <sluggos...@gmail.com>

--

You received this message because you are subscribed to the Google Groups 
"pylons-devel" group.
To post to this group, send email to pylons-de...@googlegroups.com.
To unsubscribe from this group, send email to 
pylons-devel+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/pylons-devel?hl=en.


Reply via email to