telegram_bots/aggregator/apps.py

15 lines
307 B
Python
Raw Normal View History

2019-01-27 21:20:09 +00:00
from django.apps import AppConfig
class AggregatorConfig(AppConfig):
name = 'aggregator'
def ready(self):
self.register_config()
def register_config(self):
import djconfig
from .forms import AggregatorAppConfigForm
djconfig.register(AggregatorAppConfigForm)