1👍
Just to let an user to delete his own account you don’t really need the permission system. You can do it in a view like this:
from django.contrib.auth import logout
def delete_my_account(request):
user = request.user
if user.is_authenticated():
logout(request)
user.delete()
(then redirect, render a template or whatever)
Source:stackexchange.com