Skip to content

Commit

Permalink
Set default type for auto-created primary keys
Browse files Browse the repository at this point in the history
  • Loading branch information
aromanielloNTIA committed May 10, 2024
1 parent c0eed4c commit 6294821
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/sensor/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"

0 comments on commit 6294821

Please sign in to comment.