configure settings before performing third-party imports
gitea/authentic/pipeline/head Build started... Details

This commit is contained in:
Paul Marillonnet 2020-10-29 11:38:26 +01:00
parent 7b002f861f
commit a6383588fe
1 changed files with 2 additions and 0 deletions

View File

@ -19,6 +19,8 @@ import django
default_app_config = 'authentic2.app.Authentic2Config'
if django.VERSION < (2,):
from django.conf import settings
settings.configure()
from . import validators
from django.forms import fields
import rest_framework.fields