This commit is contained in:
Martin Green 2011-05-01 23:11:18 +01:00
parent 79562d8e6d
commit 5ade60e0cf

View File

@ -196,7 +196,7 @@ def newLogbookEntry(request, expeditionyear, pdate = None, pslug = None):
print logbookparsers.parseAutoLogBookEntry(filename) print logbookparsers.parseAutoLogBookEntry(filename)
return HttpResponseRedirect(reverse('expedition', args=[expedition.year])) # Redirect after POST return HttpResponseRedirect(reverse('expedition', args=[expedition.year])) # Redirect after POST
else: else:
if slug and date: if pslug and date:
if lbe.cave: if lbe.cave:
tripForm = TripForm(date = previousdate, tripForm = TripForm(date = previousdate,
title = previouslbe.title, title = previouslbe.title,