warn about EOL for Django release

This commit is contained in:
Casey Faist
2020-03-04 15:58:27 -08:00
parent 46281960c7
commit a51e4f8660
+6
View File
@@ -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