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
ba996766
Commit
ba996766
authored
Oct 06, 2016
by
Daniel W Bond
Browse files
updated a comment on student update form regarding access to the request object
parent
6bcd82ba
Changes
1
Hide whitespace changes
Inline
Side-by-side
roomlist/accounts/forms.py
View file @
ba996766
...
...
@@ -80,7 +80,7 @@ class StudentUpdateForm(forms.Form):
room
=
SelectRoomField
(
queryset
=
Room
.
objects
.
all
(),
required
=
False
)
privacy
=
forms
.
TypedChoiceField
(
choices
=
Student
.
PRIVACY_CHOICES
)
# exclude self
? .exclude(user=self)
# exclude self
from request in form instantiation
blocked_kids
=
forms
.
ModelMultipleChoiceField
(
queryset
=
Student
.
objects
.
all
(),
required
=
False
)
...
...
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