forked from expo/troggle
[svn] revert some of the changes (href element) so that the links work
Copied from http://cucc@cucc.survex.com/svn/trunk/expoweb/troggle/, rev. 8267 by julian @ 3/11/2009 10:44 AM
This commit is contained in:
@@ -63,8 +63,8 @@ def person(request, first_name='', last_name=''):
|
||||
# person = Person.objects.get(href=name)
|
||||
#
|
||||
|
||||
def personexpedition(request, first_name='', last_name='', year=''):
|
||||
person = Person.objects.get(first_name = first_name, last_name = last_name)
|
||||
def personexpedition(request, href, year):
|
||||
person = Person.objects.get(href=href)
|
||||
expedition = Expedition.objects.get(year=year)
|
||||
personexpedition = person.personexpedition_set.get(expedition=expedition)
|
||||
return render_response(request,'personexpedition.html', {'personexpedition': personexpedition, })
|
||||
|
||||
Reference in New Issue
Block a user