Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
edx-ora2
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-ora2
Commits
bd9c0732
Commit
bd9c0732
authored
Mar 30, 2014
by
David Ormsbee
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Change config key from EDX_TIM to EDX_ORA2
parent
aee89c7f
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
4 deletions
+5
-4
apps/openassessment/workflow/models.py
+2
-2
settings/base.py
+2
-1
settings/test.py
+1
-1
No files found.
apps/openassessment/workflow/models.py
View file @
bd9c0732
...
...
@@ -24,8 +24,8 @@ logger = logging.getLogger('openassessment.workflow.models')
# This will (hopefully soon) be replaced with calls to the event-tracking API:
# https://github.com/edx/event-tracking
if
hasattr
(
settings
,
"EDX_
TIM"
)
and
"EVENT_LOGGER"
in
settings
.
EDX_TIM
:
func_path
=
settings
.
EDX_
TIM
[
"EVENT_LOGGER"
]
if
hasattr
(
settings
,
"EDX_
ORA2"
)
and
"EVENT_LOGGER"
in
settings
.
EDX_ORA2
:
func_path
=
settings
.
EDX_
ORA2
[
"EVENT_LOGGER"
]
module_name
,
func_name
=
func_path
.
rsplit
(
'.'
,
1
)
emit_event
=
getattr
(
importlib
.
import_module
(
module_name
),
func_name
)
else
:
...
...
settings/base.py
View file @
bd9c0732
...
...
@@ -150,6 +150,6 @@ CACHES = {
},
}
EDX_
TIM
=
{
EDX_
ORA2
=
{
}
\ No newline at end of file
settings/test.py
View file @
bd9c0732
...
...
@@ -43,4 +43,4 @@ LETTUCE_SERVER_PORT = 8005
# Install test-specific Django apps
INSTALLED_APPS
+=
(
'django_nose'
,
'lettuce.django'
,)
EDX_
TIM
[
"EVENT_LOGGER"
]
=
"openassessment.workflow.test.events.fake_event_logger"
EDX_
ORA2
[
"EVENT_LOGGER"
]
=
"openassessment.workflow.test.events.fake_event_logger"
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