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

前端 未结 0 1060
轮回少年
轮回少年 2021-02-11 11:14

I have a model for players on a ladder.

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


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