summaryrefslogtreecommitdiffstats
path: root/parsers/people.py
diff options
context:
space:
mode:
authorsubstantialnoninfringinguser <substantialnoninfringinguser@gmail.com>2009-05-13 06:02:42 +0100
committersubstantialnoninfringinguser <substantialnoninfringinguser@gmail.com>2009-05-13 06:02:42 +0100
commit91e4f0f8c0f4daa8434d21e2a0240718e4000187 (patch)
tree15cb22d117f89539c4fec54b38eaca56bcbbd215 /parsers/people.py
parent64000dda37ed3595603fc724a7653816516f65a7 (diff)
downloadtroggle-91e4f0f8c0f4daa8434d21e2a0240718e4000187.tar.gz
troggle-91e4f0f8c0f4daa8434d21e2a0240718e4000187.tar.bz2
troggle-91e4f0f8c0f4daa8434d21e2a0240718e4000187.zip
[svn] Reverted the reverts from 8267. Fixed the next / previous trip in personexpedition on the LogbookEntry template -- I had misunderstood what this was supposed to do last time I messed with it. This involved adding the methods PersonTrip.get_persons_next_trip and persons_previous_trip. Couldn't find any other broken things.
Kept the productive changes in 8267: extending the logbook parsing back to 1993, changing index page, changes to view_surveys.py Copied from http://cucc@cucc.survex.com/svn/trunk/expoweb/troggle/, rev. 8274 by aaron @ 3/14/2009 8:38 AM
Diffstat (limited to 'parsers/people.py')
-rw-r--r--parsers/people.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/parsers/people.py b/parsers/people.py
index 05a4349..269f13b 100644
--- a/parsers/people.py
+++ b/parsers/people.py
@@ -83,11 +83,11 @@ def LoadPersonsExpos():
person = models.Person(first_name=mname.group(1), last_name=(mname.group(2) or ""))
person.is_vfho = personline[header["VfHO member"]]
- person.Sethref()
+ #person.Sethref()
#print "NNNN", person.href
is_guest = (personline[header["Guest"]] == "1") # this is really a per-expo catagory; not a permanent state
person.save()
- #parseMugShotAndBlurb(personline=personline, header=header, person=person)
+ parseMugShotAndBlurb(personline=personline, header=header, person=person)
# make person expedition from table
for year, attended in zip(headers, personline)[5:]:
@@ -106,7 +106,7 @@ def LoadPersonsExpos():
persons = list(models.Person.objects.filter(first_name=firstname, last_name=lastname))
if not persons:
person = models.Person(first_name=firstname, last_name = lastname, is_vfho = False, mug_shot = "")
- person.Sethref()
+ #person.Sethref()
person.save()
else:
person = persons[0]