I went for something even simpler : I bypass BEAUTIFUL.. I just wanted a
view with everything named :
def my_beautify(component):
t = TABLE()
if isinstance(component, dict):
for k, v in component.iteritems():
if v is None or isinstance(v, (bool, str)):
Thanks Anthony, clearer than my explanation.
Richard
On Thu, Mar 23, 2017 at 7:08 PM, Anthony wrote:
> BEAUTIFY is not designed to take the entire global environment. The
> problem is that globals() includes all of the web2py HTML helper classes.
> Because BEAUTIFY is
BEAUTIFY is not designed to take the entire global environment. The problem
is that globals() includes all of the web2py HTML helper classes. Because
BEAUTIFY is itself an HTML helper, it is serialized by recursively
processing its components. The serialization process checks whether a given
3 matches
Mail list logo