Checks
Checks for the telegram app.
check_get_commands(app_configs, **kwargs)
¶
Check that get_commands() can load all command classes without errors.
Since get_commands() is cached, this check also serves to warm the cache.
Source code in django_telegram_app/checks.py
check_swappable_telegram_settings(app_configs, **kwargs)
¶
Check that TELEGRAM_SETTINGS_MODEL resolves correctly and is a subclass of AbstractTelegramSettings.
Source code in django_telegram_app/checks.py
check_telegram_required_settings(app_configs, **kwargs)
¶
Check that all required TELEGRAM settings are present.