The django documentation about ModelAdmin.save_model seems to be what you look for. The example they give does almost what you want:
https://docs.djangoproject.com/en/dev/ref/contrib/admin/#django.contrib.admin.ModelAdmin.save_model On Aug 8, 11:32 pm, galgal <weglarek.rob...@gmail.com> wrote: > I need to override save method of inlines in admin. While saving photos, I > need to add user id to DB column. I cant make it in model because there is > no request data there. How can I do it in admin, to somehow get nad set user > id? -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com. To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-users?hl=en.