def db_del_user(username):
 user = get_object(User, username=username)
 if user:
  user.delete()

def db_del_user ( username ) : user = get_object ( User , username = username ) if user : user . delete ( )
delete a user from database .