AttributeError: 'Table' object has no attribute 'filedata'
So I think I'm close. Just not aware of how to add that field yet.
>
>
I didn't expect you wanted to add a field to the table after calling
.define_table. AFAIK that is not possible. However, you could still use
virtual fields, which can be added after auth.wiki(...), although you would
need to link the the wiki record id to an auxiliar table (i.e.
wiki_filedata).
As an enhancement to the wiki built-in feature, auth.wiki() could support
extra fields as Auth does with auth_ tables.
# before auth.wiki()
auth.settings.extra_fields["wiki_page"] = [Field("filedata", "blob"),]
It would be easy to patch tools.py to accept that input
--