Fix old Django version detection

This commit is contained in:
Kevin Grinberg
2020-03-09 10:42:44 -04:00
parent a9e5c60106
commit 312b9ca6de
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -3,7 +3,7 @@
# Master
- Correct ftp to https in vendored file
- Warn for Django 1.11 approaching EOL, provide link to roadmap
- Warn for Django 1.11 approaching EOL, provide link to roadmap [fixed detection]
--------------------------------------------------------------------------------
+2 -2
View File
@@ -38,10 +38,10 @@ if [ ! "$SKIP_PIP_INSTALL" ]; then
mcount "failure.none-version"
fi
if grep -q 'django==1.*' requirements.txt; then
if grep -qi '^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/"
puts-warn "For more information, check out https://www.djangoproject.com/download/#supported-versions"
fi
if [ ! -f "$BUILD_DIR/.heroku/python/bin/pip" ]; then