testing admin.ModelAdmin in django

前端 未结 4 1181
深忆病人
深忆病人 2021-01-31 08:03

I am trying to find out the best way for testing admin.ModelAdmin in admin.py. Specifically I am overriding the save_model() function whic

4条回答
  •  太阳男子
    2021-01-31 08:25

    I had a similar problem so I wrote a tiny little helper here: https://github.com/metzlar/djest

提交回复
热议问题