Django 3.2 update: if you are using plugins, we recommend waiting until they are tested/updated to work with this major update
Upgrade notes
- In
settings.py:- Set
DEFAULT_AUTO_FIELD = 'django.db.models.AutoField' - In
REST_FRAMEWORK->DEFAULT_RENDERER_CLASSESreplace renderer'drf_renderer_xlsx.renderers.XLSXRenderer'by'drf_excel.renderers.XLSXRenderer' - If using postgres database, replace database engine
django.db.backends.postgresql_psycopg2bydjango.db.backends.postgresql
- Set
- Some web browsers will cache old CSS/Javascript from detailed administration. If you are having issues (blank screens) in the admin section, try
Ctrl + Shift + RorCtrl + F5to force a refresh or clear your browser's cache
Improvements
- Closure alert preview and validation were added to catch potential issues before the automatic alert is created.
- Closure on staff status calendar will now display the alert content if one is set.
- Added interlock card
enabledfield on interlock view in detailed administration.
Interlock Modbus support
- Support for Modbus over TCP was added to provide greater flexibility and support more interlock types.
Libraries
- Django 2.2 -> 3.2.17
- drf_renderer_xlsx 0.4.5 -> drf_excel 2.1.0
- cryptography 36.0.1 -> 36.0.2
- Pillow 9.0.1 -> 9.1.0
- drf-flex-fields 0.9.7 -> 0.9.8
- Added pymodbus 2.5.3 as new dependency