Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
edx-platform
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
edx
edx-platform
Commits
b56166cb
Commit
b56166cb
authored
Oct 05, 2015
by
Nimisha Asthagiri
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixup! course_api MultiValueField
parent
b395ba02
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
openedx/core/djangoapps/util/forms.py
+4
-2
No files found.
openedx/core/djangoapps/util/forms.py
View file @
b56166cb
...
@@ -4,11 +4,13 @@ from django.forms import Field, MultipleHiddenInput
...
@@ -4,11 +4,13 @@ from django.forms import Field, MultipleHiddenInput
class
MultiValueField
(
Field
):
class
MultiValueField
(
Field
):
"""
"""
Field class that supports a
lis
t of values for a single form field.
Field class that supports a
se
t of values for a single form field.
The field
values
can be specified as:
The field
input
can be specified as:
1. a comma-separated-list (foo:bar1,bar2,bar3), or
1. a comma-separated-list (foo:bar1,bar2,bar3), or
2. a repeated field in a MultiValueDict (foo:bar1, foo:bar2, foo:bar3)
2. a repeated field in a MultiValueDict (foo:bar1, foo:bar2, foo:bar3)
The resulting field value is a python set of the values.
"""
"""
widget
=
MultipleHiddenInput
widget
=
MultipleHiddenInput
...
...
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