Found a solution in django 1.4 https://docs.djangoproject.com/en/1.4/ref/contrib/admin/
and one for django 1.3 http://igorsobreira.com/2011/02/12/change-object-after-saving-all-inlines-in-django-admin.html Am Donnerstag, 17. Januar 2013 06:23:35 UTC+1 schrieb scaphilo: > > Hi > > I would like to overwrite the save_model function of a model. During this > save i need to have access to some refering models wich are also newly > created with (admin.TabularInline). > > The post save method of accessing these would be: > > allReferingObjects = ReferingModel.objects.filter(refereTo=referedModel.id) > > of cause the referedModel.id does not exist because the model is not > stored in database yet > > the post_save signal will provide all required functionality because i > need to give the user a feedback if something went wrong > > thanks for help > -- You received this message because you are subscribed to the Google Groups "Django users" group. To view this discussion on the web visit https://groups.google.com/d/msg/django-users/-/DRwHNvpRr7oJ. 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.