#8159: Attempting to delete your own user account in Django admin view is not
handled properly
-------------------------------------------+--------------------------------
Reporter: [email protected] | Owner: graham_king
Status: assigned | Milestone: post-1.0
Component: django.contrib.admin | Version: SVN
Resolution: | Keywords: admin delete
Stage: Accepted | Has_patch: 1
Needs_docs: 0 | Needs_tests: 1
Needs_better_patch: 0 |
-------------------------------------------+--------------------------------
Changes (by graham_king):
* needs_better_patch: 1 => 0
Comment:
1. Apologies for taking so long to get back to this. I was expecting an
e-mail from Trac.
2. Point taken about changing to 'Ready for checkin'
3. The new patch 8159-2.diff doesn't use signals. Instead in UserAdmin it
overrides delete_view, and nulls the request.user.id in there. The patch
now only changes one Python file instead of three.
--
Ticket URL: <http://code.djangoproject.com/ticket/8159#comment:7>
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 [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/django-updates?hl=en
-~----------~----~----~----~------~----~------~--~---