configure settings before performing third-party imports
gitea/authentic/pipeline/head Build started...
Details
gitea/authentic/pipeline/head Build started...
Details
This commit is contained in:
parent
7b002f861f
commit
a6383588fe
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue