1
0
bthlabs-jsonrpc/packages/bthlabs-jsonrpc-django/bthlabs_jsonrpc_django/apps.py
Tomek Wójcik c75ea4ea9d Initial public releases
* `bthlabs-jsonrpc-aiohttp` v1.0.0
* `bthlabs-jsonrpc-core` v1.0.0
* `bthlabs-jsonrpc-django` v1.0.0
2022-06-04 10:41:53 +02:00

18 lines
495 B
Python

# -*- coding: utf-8 -*-
# django-jsonrpc-django | (c) 2022-present Tomek Wójcik | MIT License
import importlib
from django.apps import AppConfig
class BTHLabsJSONRPCConfig(AppConfig):
default_auto_field = 'django.db.models.BigAutoField'
name = 'bthlabs_jsonrpc_django'
verbose_name = 'BTHLabs JSONRPC'
def ready(self):
from django.conf import settings
for module_path in settings.JSONRPC_METHOD_MODULES:
_ = importlib.import_module(module_path)