Using choice fields for categories/types
Related to comment here !1 (comment 49319)
then I think this should be a choices field, avoids the bug you mentioned and clients needing to configure a default when they start the server.
djangoldp_project
has an example of how to code the choice field : https://git.startinblox.com/djangoldp-packages/djangoldp-project/blob/master/djangoldp_project/models.py#L69
I think this may be true for the models:
Role
Category
Actortype
-
Contributionstatus
(from the MR)
And possibly for these but I'm not sure what they are:
Epacollege
Eclrcollege
Ecpdlcollege
Othercollege
If these can be made choice fields it will save bugs, especially in federation ("is this my Role.admin
, or yours ?")
Is this okay @Marjolaine ?