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
Operate
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
Repository analytics
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
ddae9e02
Commit
ddae9e02
authored
4 years ago
by
Kyle McCormick
Committed by
Calen Pennington
4 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Use fully-qualified edxnotes app name when checking if installed
parent
92cf17b9
Branches
Branches containing commit
Tags
release-2020-03-20-08.43
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
common/lib/xmodule/xmodule/edxnotes_utils.py
+2
-2
2 additions, 2 deletions
common/lib/xmodule/xmodule/edxnotes_utils.py
with
2 additions
and
2 deletions
common/lib/xmodule/xmodule/edxnotes_utils.py
+
2
−
2
View file @
ddae9e02
...
...
@@ -10,8 +10,8 @@ def edxnotes(cls):
"""
Conditional decorator that loads edxnotes only when they exist.
"""
if
"
edxnotes
"
in
sys
.
modules
:
from
edxnotes.decorators
import
edxnotes
as
notes
if
"
lms.djangoapps.
edxnotes
"
in
sys
.
modules
:
from
lms.djangoapps.
edxnotes.decorators
import
edxnotes
as
notes
return
notes
(
cls
)
else
:
return
cls
This diff is collapsed.
Click to expand it.
Preview
0%
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