标签: python django-models
I have a model called AttendenceData in my models.py and it has attributes employee_id, type and datetime.
The type attribute is a stringfield with two possible values IN/OUT.
How can i do this in django model?
TIA