Parcourir la source

Extend upgrade script to remove cached bytecode

Jeremy Stretch il y a 8 ans
Parent
commit
f34a8fff6a
1 fichiers modifiés avec 3 ajouts et 0 suppressions
  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