From 0d72d23fa8c59c8ab261560a0f4a738cd41aa743 Mon Sep 17 00:00:00 2001 From: Gabriel Augendre Date: Mon, 4 Mar 2019 18:45:35 +0100 Subject: [PATCH] Fix user threshold setting --- friends_map/settings.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/friends_map/settings.py b/friends_map/settings.py index ae58882..c5f66eb 100644 --- a/friends_map/settings.py +++ b/friends_map/settings.py @@ -160,6 +160,6 @@ CRISPY_TEMPLATE_PACK = 'bootstrap4' LOGOUT_REDIRECT_URL = '/' LOGIN_REDIRECT_URL = '/' -USER_THRESHOLD = os.getenv('USER_THRESHOLD', 10) +USER_THRESHOLD = int(os.getenv('USER_THRESHOLD', 10)) django_heroku.settings(locals(), allowed_hosts=False, databases=DJANGO_ENV == 'prod')