DjangoAdmin: How to get the Add/Edit/Del buttons for an `AutocompleteSelect` form field

后端 未结 0 1368
無奈伤痛
無奈伤痛 2021-01-29 14:32

I\'m using the AutocompleteSelect widget for a ForeignKey field. To do this, you override the ModelForm class like so:

class XForm(forms         


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