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
.
精彩评论