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
3c79e81c
Commit
3c79e81c
authored
Aug 23, 2013
by
David Ormsbee
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
default to a min price if we loose track of how much they wanted to pay
parent
cbb259eb
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletions
+2
-1
lms/djangoapps/verify_student/views.py
+2
-1
No files found.
lms/djangoapps/verify_student/views.py
View file @
3c79e81c
...
...
@@ -61,7 +61,8 @@ def create_order(request):
donation_for_course
=
request
.
session
.
get
(
"donation_for_course"
,
{})
# FIXME: When this isn't available we do...?
amount
=
donation_for_course
.
get
(
course_id
)
verified_mode
=
CourseMode
.
modes_for_course_dict
(
course_id
)[
"verified"
]
amount
=
donation_for_course
.
get
(
course_id
,
verified_mode
.
min_price
)
# I know, we should check this is valid. All kinds of stuff missing here
# enrollment = CourseEnrollment.create_enrollment(request.user, course_id)
...
...
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