+# -*- coding: utf-8 -*-
+# This file is part of Wolnelektury, licensed under GNU Affero GPLv3 or later.
+# Copyright © Fundacja Nowoczesna Polska. See NOTICE for more information.
+#
from django.db import models
from django.utils.translation import ugettext_lazy as _
from django.core.exceptions import ValidationError
self.vote_count = self.vote_count + 1
self.save()
session.setdefault(USED_POLLS_KEY, set()).add(self.poll.id)
- session.save()
\ No newline at end of file
+ session.save()