You can replace the `try: except` statement with `User.objects.filter(email=email).delete()`.