diff --git a/bin/detect b/bin/detect index ccfbff9..c5db3d3 100755 --- a/bin/detect +++ b/bin/detect @@ -24,6 +24,6 @@ fi # Otherwise, `Python`. -SETTINGS_FILE=$(find $BUILD_DIR/. -maxdepth 3 -type f -name 'settings.py' | head -1) +MANAGE_FILE=$(find $BUILD_DIR/. -maxdepth 3 -type f -name 'manage.py' | head -1) -[ -n "$SETTINGS_FILE" ] && echo Python/Django || echo Python +[ -n "$MANAGE_FILE" ] && grep -Fiq "django" $MANAGE_FILE && echo Python/Django || echo Python