Move import to the top of the file.

Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com>
This commit is contained in:
Roberto Rosario
2018-04-13 16:18:09 -04:00
parent 3e062a5517
commit e2058f91c1

View File

@@ -4,6 +4,8 @@ import logging
from django.utils.encoding import force_text
from .base import * # NOQA
logger = logging.getLogger(__name__)
try:
@@ -14,5 +16,3 @@ except ImportError as exception:
raise
else:
logger.info('No local.py settings file. Using defaults.')
else:
from .base import * # NOQA