2
0
mirror of https://expo.survex.com/repositories/troggle/.git synced 2025-12-14 14:07:10 +00:00

Fully working dj 1.11.29

This commit is contained in:
Philip Sargent
2020-06-19 16:39:05 +01:00
parent 2c469718f6
commit b35a0b0d26
9 changed files with 132 additions and 34 deletions

View File

@@ -93,8 +93,13 @@ def LoadPersonsExpos():
if len(names) == 1:
lastname = ""
if personline[header["VfHO member"]] =='':
vfho = False
else:
vfho = True
lookupAttribs={'first_name':firstname, 'last_name':(lastname or "")}
nonLookupAttribs={'is_vfho':personline[header["VfHO member"]], 'fullname':fullname}
nonLookupAttribs={'is_vfho':vfho, 'fullname':fullname}
person, created = save_carefully(models.Person, lookupAttribs, nonLookupAttribs)
parseMugShotAndBlurb(personline=personline, header=header, person=person)