Cleaning: timezone issues, deprecated urls.py imports, missing notes.
[wolnelektury.git] / apps / polls / forms.py
index f9ca907..fba3468 100644 (file)
@@ -1,3 +1,7 @@
+# -*- coding: utf-8 -*-\r
+# This file is part of Wolnelektury, licensed under GNU Affero GPLv3 or later.\r
+# Copyright © Fundacja Nowoczesna Polska. See NOTICE for more information.\r
+#\r
 from django import forms\r
 \r
 \r
@@ -7,4 +11,4 @@ class PollForm(forms.Form):
     def __init__(self, *args, **kwargs):
         poll = kwargs.pop('poll', None)\r
         super(PollForm, self).__init__(*args, **kwargs)\r
-        self.fields['vote'].choices = [(item.id, item.content) for item in poll.items.all()]
\ No newline at end of file
+        self.fields['vote'].choices = [(item.id, item.content) for item in poll.items.all()]\r