How to make choosing group in admin.py mandatory?

前端 未结 0 469
你的背包
你的背包 2021-02-19 02:53

In admin.py, I am adding groups as fieldset to one of my model.

   fieldsets = (
        (None, {\'fields\': (\'username\', \'first_name\', \'last_na         


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