summaryrefslogtreecommitdiff
path: root/postgresqleu/elections/admin.py
diff options
context:
space:
mode:
Diffstat (limited to 'postgresqleu/elections/admin.py')
-rw-r--r--postgresqleu/elections/admin.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/postgresqleu/elections/admin.py b/postgresqleu/elections/admin.py
index 0d2267e7..f9b0c328 100644
--- a/postgresqleu/elections/admin.py
+++ b/postgresqleu/elections/admin.py
@@ -6,6 +6,7 @@ from models import Vote, Election, Candidate
class VoteAdminForm(ModelForm):
class Meta:
model = Vote
+ exclude = []
def clean(self):
raise ValidationError("You really shouldn't edit votes! If you *really* need to fix something broken, do it in the db")