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
9567649d
Commit
9567649d
authored
Nov 06, 2017
by
Troy Sankey
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixup! run isort
parent
d6bd4dc4
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
4 additions
and
11 deletions
+4
-11
lms/djangoapps/django_comment_client/management/commands/assign_role.py
+0
-1
lms/djangoapps/django_comment_client/management/commands/assign_roles_for_course.py
+0
-1
lms/djangoapps/django_comment_client/management/commands/create_roles_for_existing.py
+0
-1
lms/djangoapps/django_comment_client/management/commands/get_discussion_link.py
+1
-2
lms/djangoapps/django_comment_client/management/commands/reload_forum_users.py
+1
-2
lms/djangoapps/django_comment_client/management/commands/seed_permissions_roles.py
+1
-2
lms/djangoapps/django_comment_client/management/commands/sync_user_info.py
+1
-2
No files found.
lms/djangoapps/django_comment_client/management/commands/assign_role.py
View file @
9567649d
...
...
@@ -2,7 +2,6 @@ from __future__ import print_function
from
django.contrib.auth.models
import
User
from
django.core.management.base
import
BaseCommand
from
django_comment_common.models
import
Role
...
...
lms/djangoapps/django_comment_client/management/commands/assign_roles_for_course.py
View file @
9567649d
...
...
@@ -7,7 +7,6 @@ Enrollments.
from
__future__
import
print_function
from
django.core.management.base
import
BaseCommand
from
django_comment_common.models
import
assign_default_role_on_enrollment
from
student.models
import
CourseEnrollment
...
...
lms/djangoapps/django_comment_client/management/commands/create_roles_for_existing.py
View file @
9567649d
...
...
@@ -7,7 +7,6 @@ Enrollments.
from
__future__
import
print_function
from
django.core.management.base
import
BaseCommand
from
django_comment_common.models
import
assign_default_role_on_enrollment
from
student.models
import
CourseEnrollment
...
...
lms/djangoapps/django_comment_client/management/commands/get_discussion_link.py
View file @
9567649d
from
courseware.courses
import
get_course
from
django.core.management.base
import
BaseCommand
,
CommandError
from
opaque_keys.edx.keys
import
CourseKey
from
courseware.courses
import
get_course
class
Command
(
BaseCommand
):
help
=
'Write a discussion link for a given course on standard output.'
...
...
lms/djangoapps/django_comment_client/management/commands/reload_forum_users.py
View file @
9567649d
...
...
@@ -3,11 +3,10 @@ Reload forum (comment client) users from existing users.
"""
from
__future__
import
print_function
import
lms.lib.comment_client
as
cc
from
django.contrib.auth.models
import
User
from
django.core.management.base
import
BaseCommand
import
lms.lib.comment_client
as
cc
class
Command
(
BaseCommand
):
help
=
'Reload forum (comment client) users from existing users.'
...
...
lms/djangoapps/django_comment_client/management/commands/seed_permissions_roles.py
View file @
9567649d
...
...
@@ -2,9 +2,8 @@
Management command to seed default permissions and roles.
"""
from
django.core.management.base
import
BaseCommand
from
opaque_keys.edx.keys
import
CourseKey
from
django_comment_common.utils
import
seed_permissions_roles
from
opaque_keys.edx.keys
import
CourseKey
class
Command
(
BaseCommand
):
...
...
lms/djangoapps/django_comment_client/management/commands/sync_user_info.py
View file @
9567649d
...
...
@@ -3,11 +3,10 @@ One-off script to sync all user information to the
discussion service (later info will be synced automatically)
"""
import
lms.lib.comment_client
as
cc
from
django.contrib.auth.models
import
User
from
django.core.management.base
import
BaseCommand
import
lms.lib.comment_client
as
cc
class
Command
(
BaseCommand
):
"""
...
...
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