1👍
✅
It turns out that sqlite handles defaults oddly. Using the sqlite3
shell, select
retrieves rows with the default value, but the Django ORM retrieves None
values, because it appears that individual values have not been set for any of those objects.
The solution was to set values through the ORM for each object.
Source:stackexchange.com