Merge pull request #13695 from edx/common_cleanup/audit_log

Move audit_log utility function to openedx/core
This commit is contained in:
Nimisha Asthagiri
2016-10-11 13:33:00 -04:00
committed by GitHub
6 changed files with 44 additions and 38 deletions

View File

@@ -9,7 +9,7 @@ from django.core.exceptions import ObjectDoesNotExist
from django.utils.decorators import method_decorator
from opaque_keys import InvalidKeyError
from course_modes.models import CourseMode
from lms.djangoapps.commerce.utils import audit_log
from openedx.core.lib.log_utils import audit_log
from openedx.core.djangoapps.user_api.preferences.api import update_email_opt_in
from openedx.core.lib.api.permissions import ApiKeyHeaderPermission, ApiKeyHeaderPermissionIsAuthenticated
from rest_framework import status