committed by
Michael Youngstrom
parent
ca00ccfb0f
commit
43d5000443
@@ -2,7 +2,7 @@
|
||||
Management command which sets or gets the certificate whitelist for a given
|
||||
user/course
|
||||
"""
|
||||
from __future__ import print_function
|
||||
from __future__ import absolute_import, print_function
|
||||
|
||||
from django.contrib.auth.models import User
|
||||
from django.core.management.base import BaseCommand, CommandError
|
||||
|
||||
@@ -9,6 +9,8 @@ Example usage:
|
||||
$ ./manage.py lms create_fake_cert test_user edX/DemoX/Demo_Course --mode honor --grade 0.89
|
||||
|
||||
"""
|
||||
from __future__ import absolute_import
|
||||
|
||||
import logging
|
||||
|
||||
from django.contrib.auth.models import User
|
||||
|
||||
@@ -1,6 +1,8 @@
|
||||
"""
|
||||
Management command which fixes ungraded certificates for students
|
||||
"""
|
||||
from __future__ import absolute_import
|
||||
|
||||
import logging
|
||||
|
||||
from django.core.management.base import BaseCommand
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
"""
|
||||
Generate a report of certificate statuses
|
||||
"""
|
||||
from __future__ import print_function
|
||||
from __future__ import absolute_import, print_function
|
||||
|
||||
from django.contrib.auth.models import User
|
||||
from django.core.management.base import BaseCommand, CommandError
|
||||
|
||||
@@ -1,4 +1,6 @@
|
||||
"""Django management command to force certificate regeneration for one user"""
|
||||
from __future__ import absolute_import
|
||||
|
||||
import copy
|
||||
import logging
|
||||
|
||||
|
||||
@@ -16,6 +16,8 @@ Example usage:
|
||||
$ ./manage.py lms resubmit_error_certificates -c edX/DemoX/Fall_2015 -c edX/DemoX/Spring_2016
|
||||
|
||||
"""
|
||||
from __future__ import absolute_import
|
||||
|
||||
import logging
|
||||
|
||||
from django.core.management.base import BaseCommand, CommandError
|
||||
|
||||
@@ -1,8 +1,9 @@
|
||||
"""
|
||||
Extremely basic tests for the cert_whitelist command
|
||||
"""
|
||||
import pytest
|
||||
from __future__ import absolute_import
|
||||
|
||||
import pytest
|
||||
from django.core.management import call_command
|
||||
|
||||
|
||||
|
||||
@@ -1,8 +1,9 @@
|
||||
"""
|
||||
Extremely basic tests for the fix_ungraded_certs command
|
||||
"""
|
||||
import pytest
|
||||
from __future__ import absolute_import
|
||||
|
||||
import pytest
|
||||
from django.core.management import call_command
|
||||
|
||||
|
||||
|
||||
@@ -1,8 +1,9 @@
|
||||
"""
|
||||
Extremely basic tests for the gen_cert_report command
|
||||
"""
|
||||
import pytest
|
||||
from __future__ import absolute_import
|
||||
|
||||
import pytest
|
||||
from django.core.management import call_command
|
||||
|
||||
|
||||
|
||||
@@ -2,7 +2,8 @@
|
||||
Management command to find all students that need certificates for
|
||||
courses that have finished, and put their cert requests on the queue.
|
||||
"""
|
||||
from __future__ import print_function
|
||||
from __future__ import absolute_import, print_function
|
||||
|
||||
import datetime
|
||||
import logging
|
||||
|
||||
|
||||
Reference in New Issue
Block a user