jumpserver/apps/audits/backends/__init__.py

11 lines
339 B
Python
Raw Normal View History

from importlib import import_module
from django.conf import settings
command_engine = import_module(settings.COMMAND_STORE_BACKEND)
command_store = command_engine.CommandStore()
2017-02-07 13:51:44 +00:00
record_engine = import_module(settings.RECORD_STORE_BACKEND)
record_store = record_engine.RecordStore()
from .command.serializers import CommandLogSerializer
2017-02-07 13:51:44 +00:00