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
122f718c
Commit
122f718c
authored
Nov 09, 2016
by
Ibrahim
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix inconsistent capitalization in education drop down
parent
07b2b1a9
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
6 deletions
+6
-6
common/djangoapps/student/models.py
+2
-2
openedx/core/djangoapps/user_api/tests/test_views.py
+4
-4
No files found.
common/djangoapps/student/models.py
View file @
122f718c
...
...
@@ -290,9 +290,9 @@ class UserProfile(models.Model):
(
'jhs'
,
ugettext_noop
(
"Junior secondary/junior high/middle school"
)),
(
'el'
,
ugettext_noop
(
"Elementary/primary school"
)),
# Translators: 'None' refers to the student's level of education
(
'none'
,
ugettext_noop
(
"No
Formal E
ducation"
)),
(
'none'
,
ugettext_noop
(
"No
formal e
ducation"
)),
# Translators: 'Other' refers to the student's level of education
(
'other'
,
ugettext_noop
(
"Other
E
ducation"
))
(
'other'
,
ugettext_noop
(
"Other
e
ducation"
))
)
level_of_education
=
models
.
CharField
(
blank
=
True
,
null
=
True
,
max_length
=
6
,
db_index
=
True
,
...
...
openedx/core/djangoapps/user_api/tests/test_views.py
View file @
122f718c
...
...
@@ -1020,8 +1020,8 @@ class RegistrationViewTest(ThirdPartyAuthTestMixin, UserAPITestCase):
{
"value"
:
"hs"
,
"name"
:
"Secondary/high school"
},
{
"value"
:
"jhs"
,
"name"
:
"Junior secondary/junior high/middle school"
},
{
"value"
:
"el"
,
"name"
:
"Elementary/primary school"
},
{
"value"
:
"none"
,
"name"
:
"No
Formal E
ducation"
},
{
"value"
:
"other"
,
"name"
:
"Other
E
ducation"
},
{
"value"
:
"none"
,
"name"
:
"No
formal e
ducation"
},
{
"value"
:
"other"
,
"name"
:
"Other
e
ducation"
},
],
}
)
...
...
@@ -1046,8 +1046,8 @@ class RegistrationViewTest(ThirdPartyAuthTestMixin, UserAPITestCase):
{
"value"
:
"hs"
,
"name"
:
"Secondary/high school TRANSLATED"
},
{
"value"
:
"jhs"
,
"name"
:
"Junior secondary/junior high/middle school TRANSLATED"
},
{
"value"
:
"el"
,
"name"
:
"Elementary/primary school TRANSLATED"
},
{
"value"
:
"none"
,
"name"
:
"No
Formal E
ducation TRANSLATED"
},
{
"value"
:
"other"
,
"name"
:
"Other
E
ducation TRANSLATED"
},
{
"value"
:
"none"
,
"name"
:
"No
formal e
ducation TRANSLATED"
},
{
"value"
:
"other"
,
"name"
:
"Other
e
ducation TRANSLATED"
},
],
}
)
...
...
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