Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
etch
nuages
Commits
efc7f7a7
Commit
efc7f7a7
authored
Oct 25, 2014
by
Christophe Siraut
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Django 1.6 changed the default value of BooleanField from False to None
parent
00bd40ed
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
meetingpoll/models.py
meetingpoll/models.py
+1
-1
No files found.
meetingpoll/models.py
View file @
efc7f7a7
...
...
@@ -123,7 +123,7 @@ class Bulletin(models.Model):
class
Vote
(
models
.
Model
):
choice
=
models
.
ForeignKey
(
Choice
)
bulletin
=
models
.
ForeignKey
(
Bulletin
)
voice
=
models
.
BooleanField
()
voice
=
models
.
BooleanField
(
default
=
False
)
comment
=
models
.
CharField
(
max_length
=
80
,
blank
=
True
)
class
Meta
:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment