#12696: ModelAdmin.save_model is not called on creation, only on update -------------------------------------------+-------------------------------- Reporter: seddonym | Owner: nobody Status: closed | Milestone: Component: django.contrib.admin | Version: 1.2-alpha Resolution: worksforme | Keywords: Stage: Unreviewed | Has_patch: 0 Needs_docs: 0 | Needs_tests: 0 Needs_better_patch: 0 | -------------------------------------------+-------------------------------- Changes (by kmtracey):
* version: 1.1 => 1.2-alpha Comment: Yes, it looks like this is a bug in the 1.2 alpha, related to the model validation changes, I suspect fixed by r12206. Most of the discussion around the issues there focused on problems where previously-valid code would now raise errors; I did not realize part of the problem was that `save_model` was no longer being called at all for new object creation. It has been fixed in current trunk. -- Ticket URL: <http://code.djangoproject.com/ticket/12696#comment:4> Django <http://code.djangoproject.com/> The Web framework for perfectionists with deadlines. -- You received this message because you are subscribed to the Google Groups "Django updates" group. To post to this group, send email to django-upda...@googlegroups.com. To unsubscribe from this group, send email to django-updates+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-updates?hl=en.