From 5c20418b8e5f6dc033d1a7c515d30d5e9b026db5 Mon Sep 17 00:00:00 2001 From: "Francesco Scarlato (Jungmann)" Date: Thu, 25 May 2017 21:10:41 +0200 Subject: [PATCH] Fix sampleproject view --- sampleproject/bot/views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)