Closed pbogre closed 1 month ago
Currently the from_database works fine, but it requires all fields in all classes to be optional (i.e. be None by default). This is because of the line real = cls().
from_database
None
real = cls()
This should be changed to allow required fields in backend models.
Currently the
from_database
works fine, but it requires all fields in all classes to be optional (i.e. beNone
by default). This is because of the linereal = cls()
.This should be changed to allow required fields in backend models.