[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:
substantialnoninfringinguser
2009-05-13 05:58:58 +01:00
parent e8da6b9b8b
commit 90da85e856
9 changed files with 102 additions and 51 deletions

View File

@@ -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, })