Merge pull request #922 from heroku/django/warn

Warn about EOL for Django release
This commit is contained in:
Casey
2020-03-05 12:33:32 -08:00
committed by GitHub
2 changed files with 7 additions and 0 deletions
+1
View File
@@ -3,6 +3,7 @@
# Master
- Correct ftp to https in vendored file
- Warn for Django 1.11 approaching EOL, provide link to roadmap
--------------------------------------------------------------------------------
+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