Commit 42d9814a authored by dorothee.kueppers's avatar dorothee.kueppers
Browse files

postgresql fix?

parent c5b2e797
......@@ -41,7 +41,7 @@ def get_landing_page(request):
# fail_silently=False)
selection = Selection.objects.filter(active=True).latest('endtime')
except Model.DoesNotExist:
selection = None
if selection is not None and selection.endtime >
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment