Explorar el Código

Extend upgrade script to remove cached bytecode

Jeremy Stretch hace 9 años
padre
commit
f34a8fff6a
Se han modificado 1 ficheros con 3 adiciones y 0 borrados
  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