What's the recommended way to associate a text description with each
table created in the model file and display the description beside the
table listings in appadmin.py/index? I'm looking to do something like
the following:
in db.py:
...
db.define_table('blah',....)
db.blah.description("Records contain a lot of blather and many other
important things")
...
in appadmin.html.index():
...
{{=table.descriptions}}
...
but the 'db' and 'table' variables obtained from sorted(databases)
appear to be strings rather than database objects.
Thanks,
Mike
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"web2py Web Framework" 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/web2py?hl=en
-~----------~----~----~----~------~----~------~--~---