Remove lms/lib from sys.path in favore of using it as the module lms.lib
This commit is contained in:
@@ -4,7 +4,7 @@
|
||||
|
||||
from django.core.management.base import BaseCommand
|
||||
from django.contrib.auth.models import User
|
||||
import comment_client as cc
|
||||
import lms.lib.comment_client as cc
|
||||
|
||||
|
||||
class Command(BaseCommand):
|
||||
|
||||
@@ -27,7 +27,7 @@ import django.dispatch
|
||||
from django.forms import ModelForm, forms
|
||||
|
||||
from course_modes.models import CourseMode
|
||||
import comment_client as cc
|
||||
import lms.lib.comment_client as cc
|
||||
from pytz import UTC
|
||||
import crum
|
||||
|
||||
|
||||
@@ -82,7 +82,7 @@ def get_logger_config(log_dir,
|
||||
},
|
||||
'newrelic': {
|
||||
'level': 'ERROR',
|
||||
'class': 'newrelic_logging.NewRelicHandler',
|
||||
'class': 'lms.lib.newrelic_logging.NewRelicHandler',
|
||||
'formatter': 'raw',
|
||||
}
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user