status field

In the shell I tried item = Item.objects.create(owner=user, name="name", status="fizzbuzz"), and then item.status which yielded fizzbuzz. Should this work? I assumed status would be limited to yes, no and friends_only.

Sorry You must be a logged in, registered user to answer a question.

Answers

Based on how StatusField works, I would make the same assumption about the limitation of choices. But looking at the code for the field, I'm not certain. I can't answer this one definitively, sorry.

Think I have the answer -the status field relates to GUI -form validation etc. -and does not affect programmatic model creation.