diff --git a/upgrade.sh b/upgrade.sh index f0d17e61b..1d604a624 100755 --- a/upgrade.sh +++ b/upgrade.sh @@ -25,3 +25,6 @@ eval $COMMAND # Collect static files ./netbox/manage.py collectstatic --noinput + +# Delete old bytecode +find . -name "*.pyc" -delete