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
16945cc3
Commit
16945cc3
authored
Jul 18, 2017
by
Gregory Martin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
greening tests
parent
5189f252
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
10 deletions
+1
-10
openedx/core/djangoapps/signals/handlers.py
+1
-10
No files found.
openedx/core/djangoapps/signals/handlers.py
View file @
16945cc3
...
...
@@ -4,8 +4,6 @@ This module contains all general use or cross-use handlers.
import
logging
from
celery.task
import
task
from
celery_utils.logged_task
import
LoggedTask
from
celery_utils.persist_on_failure
import
PersistOnFailureTask
from
django.dispatch
import
receiver
from
certificates.models
import
CertificateGenerationCourseSetting
...
...
@@ -27,14 +25,7 @@ def _listen_for_course_pacing_changed(sender, course_key, course_self_paced, **k
))
class
_BaseSelfCertTask
(
PersistOnFailureTask
,
LoggedTask
):
# pylint: disable=abstract-method
"""
Include persistence features, as well as logging of task invocation.
"""
abstract
=
True
@task
(
base
=
_BaseSelfCertTask
)
@task
def
toggle_self_generated_certs
(
course_key
,
course_self_paced
):
"""
Enable or disable self-generated certificates for a course according to pacing.
...
...
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