telegram_bots/feeds/apps.py

15 lines
287 B
Python
Raw Normal View History

2019-01-11 19:16:01 +00:00
from django.apps import AppConfig
class FeedsConfig(AppConfig):
name = 'feeds'
2019-01-19 06:52:00 +00:00
def ready(self):
self.register_config()
def register_config(self):
import djconfig
from .forms import FeedsAppConfigForm
djconfig.register(FeedsAppConfigForm)