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
c630a319
Commit
c630a319
authored
Mar 13, 2014
by
Giulio Gratta
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #2922 from edx/giulio/edit-cme-register
Changed Lucile Packard Children's CME registration value.
parents
d5a5b5b7
4f135660
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
common/djangoapps/cme_registration/models.py
+1
-1
common/djangoapps/cme_registration/tests/registration_tests.py
+1
-1
No files found.
common/djangoapps/cme_registration/models.py
View file @
c630a319
...
@@ -55,7 +55,7 @@ class CmeUserProfile(UserProfile):
...
@@ -55,7 +55,7 @@ class CmeUserProfile(UserProfile):
specialty
=
models
.
CharField
(
blank
=
True
,
null
=
True
,
max_length
=
255
)
specialty
=
models
.
CharField
(
blank
=
True
,
null
=
True
,
max_length
=
255
)
sub_specialty
=
models
.
CharField
(
blank
=
True
,
null
=
True
,
max_length
=
255
)
sub_specialty
=
models
.
CharField
(
blank
=
True
,
null
=
True
,
max_length
=
255
)
AFFILIATION_CHOICES
=
((
'Lucile Packard Children
\'
s Hospital
'
,
'Lucile Packard Children
\'
s Hospital
'
),
AFFILIATION_CHOICES
=
((
'Lucile Packard Children
\'
s Hospital
Stanford'
,
'Lucile Packard Children
\'
s Hospital Stanford
'
),
(
'Packard Children
\'
s Health Alliance'
,
'Packard Children
\'
s Health Alliance'
),
(
'Packard Children
\'
s Health Alliance'
,
'Packard Children
\'
s Health Alliance'
),
(
'Stanford Hospital and Clinics'
,
'Stanford Hospital and Clinics'
),
(
'Stanford Hospital and Clinics'
,
'Stanford Hospital and Clinics'
),
(
'Stanford University'
,
'Stanford University'
),
(
'Stanford University'
,
'Stanford University'
),
...
...
common/djangoapps/cme_registration/tests/registration_tests.py
View file @
c630a319
...
@@ -233,7 +233,7 @@ class TestCmeRegistration(TestCase):
...
@@ -233,7 +233,7 @@ class TestCmeRegistration(TestCase):
return_vars
=
setup_sub_affiliation_field
(
self
.
post_vars
)
return_vars
=
setup_sub_affiliation_field
(
self
.
post_vars
)
self
.
assertEquals
(
return_vars
[
'sub_affiliation'
],
'Dummy_Value2'
)
self
.
assertEquals
(
return_vars
[
'sub_affiliation'
],
'Dummy_Value2'
)
self
.
post_vars
[
'affiliation'
]
=
'Lucile Packard Children
\'
s Hospital'
self
.
post_vars
[
'affiliation'
]
=
'Lucile Packard Children
\'
s Hospital
Stanford
'
self
.
post_vars
[
'PCHA_affiliation'
]
=
'Dummy_Value1'
self
.
post_vars
[
'PCHA_affiliation'
]
=
'Dummy_Value1'
self
.
post_vars
[
'UHA_affiliation'
]
=
'Dummy_Value2'
self
.
post_vars
[
'UHA_affiliation'
]
=
'Dummy_Value2'
...
...
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