Closed rmad17 closed 5 years ago
For PositiveSmallIntegerField where we are using for Choices we can use https://github.com/loggi/python-choicesenum/ . Then we can write the choices in a choices.py and the whole approach would be much cleaner. @dhilipsiva let me know what you feel.
PositiveSmallIntegerField
choices.py
I am using choices.py. But I am using the orm-choices package: https://github.com/reckonsys/opensteer/tree/master/opensteer/users
orm-choices
Yea, saw it buddy. Closing issue.
For
PositiveSmallIntegerField
where we are using for Choices we can use https://github.com/loggi/python-choicesenum/ . Then we can write the choices in achoices.py
and the whole approach would be much cleaner. @dhilipsiva let me know what you feel.