Adding inline-edited related records during _post_save
|Reported by:||nichyoung||Owned by:||adrian|
|Has patch:||no||Needs documentation:||no|
|Needs tests:||no||Patch needs improvement:||no|
I need to add records to a child table in the _post_save and can imagine many other situations where this process would be useful.
This process itself functions as expected; however, when using the admin interface where the child table is edited inline the display of the process fails. I believe the cause of the failure to be an expectation from the admin interface that the added child record would be present on the previous page when it isn't the process fails with a KeyError.
I've made a trivial patch to catch the error and continue but I don't have a sufficiently good understanding of Django to know whether this will cause additional problems.