Django ModelAdmin get_form 'NoneType' object is not callable

后端 未结 0 1961
悲&欢浪女
悲&欢浪女 2021-01-25 00:01

I am trying to add a new field to ModelAdmin, but get an error:

@admin.register(FilmWork)
class FilmworkAdmin(admin.ModelAdmin):
fields = (\'title\', \'plot\', \'         


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