diff --git a/sampleproject/bot/views.py b/sampleproject/bot/views.py index f1ee467..c01e3ae 100644 --- a/sampleproject/bot/views.py +++ b/sampleproject/bot/views.py @@ -5,5 +5,5 @@ # Create your views here. def index(request): bot_list = DjangoTelegramBot.bots - context = {'bot_list': bot_list, 'update_mode':settings.TELEGRAM_BOT_MODE} + context = {'bot_list': bot_list, 'update_mode':settings.DJANGO_TELEGRAMBOT['MODE']} return render(request, 'bot/index.html', context)