From 69be2e64ef0d92de020ca1bc510ab37abf030196 Mon Sep 17 00:00:00 2001 From: Benjamin Date: Wed, 20 Jun 2018 22:57:24 -0600 Subject: [PATCH 1/4] wip --- forms.py | 2 +- templates/base.html | 3 +-- views/donateviews.py | 43 ++++++++++++++++++++++++++++++------------- 3 files changed, 32 insertions(+), 16 deletions(-) diff --git a/forms.py b/forms.py index 9468f3008..d03d68f94 100755 --- a/forms.py +++ b/forms.py @@ -138,7 +138,7 @@ def clean_bid(self): raise forms.ValidationError( "This bid not open for new donations anymore.") except Exception as e: - raise forms.ValidationError("Bid does not exist.") + raise forms.ValidationError("Bid does not exist or is closed.") return bid def clean_amount(self): diff --git a/templates/base.html b/templates/base.html index 4e9c29e1d..b36c2edee 100644 --- a/templates/base.html +++ b/templates/base.html @@ -26,8 +26,7 @@