开发者

Django Custom Admin

Currently I have an app with a save method in its models.py . So I would like to 开发者_Python百科change this so the models does not do the save() method, but rather have a separate view that will do this in die admin site.

Can you please direct me in the correct direction?

Thank you


Override save_model in your ModelAdmin class. The (bare) original is in django.contrib.admin.options.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜