diff --git a/src/sensor/settings.py b/src/sensor/settings.py index d1a46a9f..c8392cfc 100644 --- a/src/sensor/settings.py +++ b/src/sensor/settings.py @@ -453,3 +453,6 @@ USB_DEVICE = env("USB_DEVICE", default=None) STARTUP_CALIBRATION_ACTION = env("STARTUP_CALIBRATION_ACTION", default=None) RAY_INIT = env.bool("RAY_INIT", default=False) + +# Set default field type for Django auto-created primary keys +DEFAULT_AUTO_FIELD = "django.db.models.AutoField"