X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/5f176bb52a7a59bf88f5728e60a3a62e12fb3d54..0bd2c341a8b55f817c2e193a6c4658d52ef95961:/apps/polls/models.py?ds=inline diff --git a/apps/polls/models.py b/apps/polls/models.py index d63e5aa3e..16713e479 100644 --- a/apps/polls/models.py +++ b/apps/polls/models.py @@ -1,3 +1,7 @@ +# -*- 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 @@ -57,4 +61,4 @@ class PollItem(models.Model): 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()