Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
E
edx-platform-release
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
1
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Package Registry
Model registry
Operate
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Hsin-Yu Chien
edx-platform-release
Commits
c5cbbdf7
Commit
c5cbbdf7
authored
7 years ago
by
Tyler Hallada
Browse files
Options
Downloads
Patches
Plain Diff
No dynamic_upgrade_deadline in prof. courses
parent
e0557931
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
common/djangoapps/student/models.py
+1
-1
1 addition, 1 deletion
common/djangoapps/student/models.py
with
1 addition
and
1 deletion
common/djangoapps/student/models.py
+
1
−
1
View file @
c5cbbdf7
...
...
@@ -1726,7 +1726,7 @@ class CourseEnrollment(models.Model):
log
.
debug
(
'
Schedules: Returning None since dynamic upgrade deadline has already passed.
'
)
return
None
if
self
.
verified_mode
is
None
:
if
self
.
verified_mode
is
None
or
CourseMode
.
is_professional_mode
(
self
.
verified_mode
)
:
log
.
debug
(
'
Schedules: Returning None for dynamic upgrade deadline since the course does not have a
'
'
verified mode.
'
)
return
None
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment