Skip to content
Snippets Groups Projects
Commit a10fbd68 authored by Amit's avatar Amit Committed by Michael Youngstrom
Browse files

INCR-231: Run python-modernize and isort at common/djangoapps/entitlements (#20515)

parent e1f47c04
No related branches found
No related tags found
No related merge requests found
"""Admin forms for Course Entitlements"""
from __future__ import absolute_import
from django import forms
from django.contrib import admin
from opaque_keys import InvalidKeyError
......
......@@ -4,6 +4,8 @@ Entitlements Application Configuration
Signal handlers are connected here.
"""
from __future__ import absolute_import
from django.apps import AppConfig
......
"""Entitlement Models"""
from __future__ import absolute_import
import logging
import uuid as uuid_tools
from datetime import timedelta
......
......@@ -2,6 +2,8 @@
Entitlements related signal handlers.
"""
from __future__ import absolute_import
from django.dispatch import receiver
from entitlements.models import CourseEntitlement
......
......@@ -2,13 +2,14 @@
This file contains celery tasks for entitlements-related functionality.
"""
from __future__ import absolute_import
from celery import task
from celery.utils.log import get_task_logger
from django.conf import settings
from entitlements.models import CourseEntitlement
LOGGER = get_task_logger(__name__)
# Under cms the following setting is not defined, leading to errors during tests.
ROUTING_KEY = getattr(settings, 'ENTITLEMENTS_EXPIRATION_ROUTING_KEY', None)
......
......@@ -2,6 +2,8 @@
Utility methods for the entitlement application.
"""
from __future__ import absolute_import
import logging
from django.utils import timezone
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment