Friday, December 18, 2015

Re: Admin debugging delete

Hi,

Are you working in django admin and using the delete checkbox to delete a child record?

If so, it is not a javascript event, but it is handled by when you save to the parents form (it's a formset with child forms). I would follow where the django code stops executing.

Regards,

Andréas

2015-12-18 10:20 GMT+01:00 Mike Dewhirst <miked@dewhirst.com.au>:
Forgot to mention - Django 1.8, Python 2.7 and 3.4, Postgres 9.1 and 9.3, Apache 2.2 and the dev server

I have been digging a little and think this is a javascript initiated event. I am not comfortable with javascript so my uncertainty has just doubled.

Thanks very much for any direction

Cheers

Mike

On 17/12/2015 6:41 PM, Mike Dewhirst wrote:
I'm having trouble debugging a failed child record Delete. That is the
Delete [x] checkbox being ticked does not delete the child record.

It is obviously something to do with my bad but I'm not sure where to
start.

Any hints?

Thanks

Mike


--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/5673CFCF.70707%40dewhirst.com.au.

For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CALXYUbmbJ%2B-0bATpHDscunyo6r1CwK7KGAEWvTQk9mxpQFpuiA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment