@login_required
def password_change_custom(request, username):
    if request.user.has_usable_password():
        pass_form = PasswordChangeForm
    else:
        pass_form = SetPasswordForm

    return password_change(request, username=username, pass_form=pass_form)
Server will send an unbind request to client when inactivity
dataset/ETHPy150Open rvanlaar/easy-transifex/src/transifex/transifex/txcommon/views.py/password_change_custom--crossover with--dataset/ETHPy150Open jookies/jasmin/jasmin/protocols/smpp/test/test_smpp_server.py/InactivityTestCases.test_server_unbind_after_inactivity