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
79744b52
Commit
79744b52
authored
Aug 20, 2014
by
Alan Boudreault
Committed by
Jonathan Piacenti
Aug 20, 2015
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add ENABLE_DISCUSSION_EMAIL_DIGEST in api_manager
Conflicts: lms/djangoapps/api_manager/users/tests.py
parent
b686b2da
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
0 deletions
+6
-0
lms/djangoapps/api_manager/users/tests.py
+5
-0
lms/djangoapps/api_manager/users/views.py
+1
-0
No files found.
lms/djangoapps/api_manager/users/tests.py
View file @
79744b52
...
...
@@ -33,8 +33,13 @@ from xmodule.modulestore.tests.django_utils import ModuleStoreTestCase
from
openedx.core.djangoapps.user_api.models
import
UserPreference
from
xmodule.modulestore.tests.factories
import
CourseFactory
,
ItemFactory
from
django.contrib.auth.models
import
User
from
openedx.core.djangoapps.user_api.models
import
UserPreference
from
notification_prefs
import
NOTIFICATION_PREF_KEY
TEST_API_KEY
=
str
(
uuid
.
uuid4
())
class
SecureClient
(
Client
):
""" Django test client using a "secure" connection. """
...
...
lms/djangoapps/api_manager/users/views.py
View file @
79744b52
...
...
@@ -27,6 +27,7 @@ from django_comment_common.models import Role, FORUM_ROLE_MODERATOR
from
gradebook.models
import
StudentGradebook
from
instructor.access
import
revoke_access
,
update_forum_role
from
lang_pref
import
LANGUAGE_KEY
from
notification_prefs.views
import
enable_notifications
from
lms.lib.comment_client.user
import
User
as
CommentUser
from
lms.lib.comment_client.utils
import
CommentClientRequestError
from
notification_prefs.views
import
enable_notifications
...
...
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