Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
SRCT
roomlist
Commits
463383f6
Commit
463383f6
authored
Jan 22, 2016
by
Daniel W Bond
Browse files
can select every gender, because people apparently have tried it and it errored
parent
1050d0a4
Changes
1
Hide whitespace changes
Inline
Side-by-side
roomlist/accounts/models.py
View file @
463383f6
...
...
@@ -126,7 +126,7 @@ class Student(TimeStampedModel):
)
# selectmultiple in forms
gender
=
MultiSelectField
(
max_length
=
2
5
,
choices
=
GENDER_CHOICES
,
blank
=
True
)
gender
=
MultiSelectField
(
max_length
=
5
0
,
choices
=
GENDER_CHOICES
,
blank
=
True
)
show_gender
=
models
.
BooleanField
(
default
=
False
)
privacy
=
models
.
CharField
(
max_length
=
100
,
choices
=
PRIVACY_CHOICES
,
default
=
FLOOR
)
...
...
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