Add beginnings of "New Table" feature
nowhere near complete yet, but skeleton is more or less in place
This commit is contained in:
parent
7e852c1836
commit
a061e362c3
4 changed files with 391 additions and 10 deletions
|
@ -1135,6 +1135,8 @@ class Form(object):
|
|||
if record:
|
||||
try:
|
||||
return record[field_name]
|
||||
except KeyError:
|
||||
return None
|
||||
except TypeError:
|
||||
return getattr(record, field_name, None)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue