I moved some things around in WebHelpers 0.6 to accommodate current
and future growth. I wanted to get this done before release to avoid
a backward-compatibility precedent.
webhelpers.html is now a package. All HTML-related helpers will go in
here, to distinguish them from text, date, collection, and other
non-HTML helpers.
Ian's tag builder, the former webhelpers.html, is now
webhelpers.html.builder. All of its public names are "import *"'d
into webhelpers.html, so you don't have to change anything for these.
The rest of the changes will require you to change your imports in
helpers.py or wherever you're importing them to.
webhelpers.tags has moved to webhelpers.html.tags.
webhelpers.tools has been split into three parts:
* markdown() and textilize() have moved to
webhelpers.html.converters, a module for converting between HTML and
various text markup languages. The underlying markdown and textile
packages have not moved.
* Flash has moved to webhelpers,containers, a module for various
container objects including dict-like things and list-like things.
Flash is not quite one of these, but it's certainly not HTML, and I
didn't want to put it in the miscellaneous morass that is
webhelpers.utils.
* Everything else has moved to webhelpers.html.tools: button_to,
mail_to, highlight, strip_links, auto_link,
This is the only disruptive change anticipated before release. (There
is one request to modify two minor paginate arguments, but it's still
being debated.)
--
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
-~----------~----~----~----~------~----~------~--~---