Browse Source

Extend upgrade script to remove cached bytecode

Jeremy Stretch 8 years ago
parent
commit
f34a8fff6a
1 changed files with 3 additions and 0 deletions
  1. 3 0
      upgrade.sh

+ 3 - 0
upgrade.sh

@@ -25,3 +25,6 @@ eval $COMMAND
 
 # Collect static files
 ./netbox/manage.py collectstatic --noinput
+
+# Delete old bytecode
+find . -name "*.pyc" -delete