Let MemberInfo.dates
be an object, not a list
This commit is contained in:
parent
3a3fba19e4
commit
1597c163c6
|
@ -1292,6 +1292,7 @@ class MemberInfo(Base):
|
||||||
primaryjoin='MemberDate.card_number == MemberInfo.card_number',
|
primaryjoin='MemberDate.card_number == MemberInfo.card_number',
|
||||||
foreign_keys='MemberDate.card_number',
|
foreign_keys='MemberDate.card_number',
|
||||||
cascade='all, delete-orphan',
|
cascade='all, delete-orphan',
|
||||||
|
uselist=False,
|
||||||
doc="""
|
doc="""
|
||||||
List of date records for the member.
|
List of date records for the member.
|
||||||
""",
|
""",
|
||||||
|
|
Loading…
Reference in a new issue