From a51e4f8660dc39822b79b211fbe0321713475451 Mon Sep 17 00:00:00 2001 From: Casey Faist Date: Wed, 4 Mar 2020 15:58:27 -0800 Subject: [PATCH] warn about EOL for Django release --- bin/steps/pip-install | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/bin/steps/pip-install b/bin/steps/pip-install index b950fef..403c3e7 100755 --- a/bin/steps/pip-install +++ b/bin/steps/pip-install @@ -38,6 +38,12 @@ if [ ! "$SKIP_PIP_INSTALL" ]; then mcount "failure.none-version" fi + if grep -q 'django==1.*' requirements.txt; then + puts-warn "Your Django version is nearing the end of its community support." + puts-warn "Upgrade to continue to receive security updates and for the best experience with Django." + puts-warn "For more information, check out https://www.djangoproject.com/weblog/2015/jun/25/roadmap/" + fi + if [ ! -f "$BUILD_DIR/.heroku/python/bin/pip" ]; then exit 1 fi