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
6058d8d2
Commit
6058d8d2
authored
Jun 06, 2012
by
Bridger Maxwell
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Tweaked wording on survey questions that seemed to be for students about to take the course.
parent
1696a643
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
djangoapps/student/survey_questions.py
+4
-4
No files found.
djangoapps/student/survey_questions.py
View file @
6058d8d2
...
...
@@ -5,14 +5,14 @@ def exit_survey_list_for_student(student):
# Right now, we just randomly pick some questions from random_questions
common_questions
=
exit_survey_questions
[
'common_questions'
]
randomized_questions
=
exit_survey_questions
[
'random_questions'
]
#If we use random.sample on randomized_questions directly, it will re-arrange the questions
if
not
settings
.
DEBUG_SURVEY
:
chosen_indices
=
random
.
sample
(
range
(
len
(
randomized_questions
)
),
6
)
else
:
#In debug mode, we show all surveys
chosen_indices
=
range
(
len
(
randomized_questions
)
)
chosen_questions
=
[
randomized_questions
[
i
]
for
i
in
sorted
(
chosen_indices
)]
survey_list
=
common_questions
+
chosen_questions
...
...
@@ -149,7 +149,7 @@ exit_survey_questions = {
{
'type'
:
'select_many'
,
'question_name'
:
'why_course'
,
'label'
:
'Why
are you taking
this course? (Check all that apply.)'
,
'label'
:
'Why
did you take
this course? (Check all that apply.)'
,
'choices'
:
[
'Interest in topic'
,
'Preparation for advanced standing exam'
,
...
...
@@ -165,7 +165,7 @@ exit_survey_questions = {
{
'type'
:
'radio'
,
'question_name'
:
'internet_access'
,
'label'
:
'Where d
o
you access the MITx website most frequently?'
,
'label'
:
'Where d
id
you access the MITx website most frequently?'
,
'choices'
:
[
'At home'
,
'At the home of a friend or family member outside your home'
,
...
...
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