KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
I want to limit the field to values 0-10 in a select widget. field=models.IntegerField(max_length=10, choices=CHOICES) I could just write out all the choices tuples from (0,0),(1,1) on, but there must be an obvious way to handle this. Help is highly appreciated.
Tags (comma-separated)
Save Edits
Cancel