Extend upgrade script to remove cached bytecode
This commit is contained in:
@@ -25,3 +25,6 @@ eval $COMMAND
|
|||||||
|
|
||||||
# Collect static files
|
# Collect static files
|
||||||
./netbox/manage.py collectstatic --noinput
|
./netbox/manage.py collectstatic --noinput
|
||||||
|
|
||||||
|
# Delete old bytecode
|
||||||
|
find . -name "*.pyc" -delete
|
||||||
|
Reference in New Issue
Block a user