fnp
/
wolnelektury.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Always attempt to build HTML and fix_tree_tags when publishing a book. Also, some...
[wolnelektury.git]
/
apps
/
polls
/
forms.py
diff --git
a/apps/polls/forms.py
b/apps/polls/forms.py
index
fba3468
..
20d53fe
100644
(file)
--- a/
apps/polls/forms.py
+++ b/
apps/polls/forms.py
@@
-6,8
+6,8
@@
from django import forms
\r
\r
class PollForm(forms.Form):
\r
\r
\r
class PollForm(forms.Form):
\r
- vote = forms.ChoiceField(widget
=
forms.RadioSelect)
\r
-
\r
+ vote = forms.ChoiceField(widget
=
forms.RadioSelect)
\r
+
\r
def __init__(self, *args, **kwargs):
poll = kwargs.pop('poll', None)
\r
super(PollForm, self).__init__(*args, **kwargs)
\r
def __init__(self, *args, **kwargs):
poll = kwargs.pop('poll', None)
\r
super(PollForm, self).__init__(*args, **kwargs)
\r