majora2
majora2 copied to clipboard
Remove `nullable=True` from `CharField` where not required
It is not Django best practice to allow for CharField
to contain None
and empty string unless absolutely necessary. This also is the root cause of None
appearing in API serialiser responses.