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
e71ee2b5
Commit
e71ee2b5
authored
May 07, 2015
by
Adam
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #7953 from Stanford-Online/kluo/cleanup-keyword-sub
Clean up keyword_substitution.py
parents
411df0ae
5c36bd10
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
4 deletions
+1
-4
common/djangoapps/util/keyword_substitution.py
+1
-4
No files found.
common/djangoapps/util/keyword_substitution.py
View file @
e71ee2b5
...
...
@@ -12,9 +12,7 @@ Supported:
-
%%
COURSE_END_DATE
%%
=> end date of the course
Usage:
KEYWORD_FUNCTION_MAP must be supplied in startup.py, so that it lives
above other modules in the dependency tree and acts like a global var.
Then we can call substitute_keywords_with_data where substitution is
Call substitute_keywords_with_data where substitution is
needed. Currently called in:
- LMS: Announcements + Bulk emails
- CMS: Not called
...
...
@@ -22,7 +20,6 @@ Usage:
from
django.contrib.auth.models
import
User
from
student.models
import
anonymous_id_for_user
from
xmodule.modulestore.django
import
modulestore
def
anonymous_id_from_user_id
(
user_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