diff options
author | substantialnoninfringinguser <substantialnoninfringinguser@gmail.com> | 2009-05-13 06:22:07 +0100 |
---|---|---|
committer | substantialnoninfringinguser <substantialnoninfringinguser@gmail.com> | 2009-05-13 06:22:07 +0100 |
commit | 1b06243dabb7d88a2a89c0f37bd6fa69272a5bfa (patch) | |
tree | c441b408fa8f12434c17529521221616c5ef4f13 /expo/views_caves.py | |
parent | 9972e28a91f5c5631e7c0711caf492152bf6812c (diff) | |
download | troggle-1b06243dabb7d88a2a89c0f37bd6fa69272a5bfa.tar.gz troggle-1b06243dabb7d88a2a89c0f37bd6fa69272a5bfa.tar.bz2 troggle-1b06243dabb7d88a2a89c0f37bd6fa69272a5bfa.zip |
[svn] Improve registration system.
Add jquery fade effects and quick search.
Copied from http://cucc@cucc.survex.com/svn/trunk/expoweb/troggle/, rev. 8334 by cucc @ 5/10/2009 5:23 AM
Diffstat (limited to 'expo/views_caves.py')
-rw-r--r-- | expo/views_caves.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/expo/views_caves.py b/expo/views_caves.py index 02994b6..1e11602 100644 --- a/expo/views_caves.py +++ b/expo/views_caves.py @@ -77,12 +77,12 @@ def caveSearch(request): def surveyindex(request):
surveys=Survey.objects.all()
- expeditions=Expedition.objects.all()
+ expeditions=Expedition.objects.order_by("-year")
return render_response(request,'survey.html',locals())
def survey(request,year,wallet_number):
surveys=Survey.objects.all()
- expeditions=Expedition.objects.all()
+ expeditions=Expedition.objects.order_by("-year")
current_expedition=Expedition.objects.filter(year=year)[0]
if wallet_number!='':
|