how to populate a CreateView field based on count of model instances in Django

前端 未结 0 1479
死守一世寂寞
死守一世寂寞 2021-02-11 11:33

I have a model for players on a ladder.

class Player(models.Model):
    # Availability choice list
    available = \'AVL\'
    injured = \'INJ\'
    away = \'AWY\         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题