11 lines
316 B
Python
11 lines
316 B
Python
from importlib import import_module
|
|
from . import utils, models
|
|
from .config import config
|
|
|
|
globals()['backend']=import_module('.backends.'+config['backend']['type'],'auth')
|
|
backend.config=config['backend']['options']
|
|
backend.utils=utils
|
|
backend.models=models
|
|
models.utils=utils
|
|
models.backend=backend
|
|
backend.init() |