def clear_messages(identity):
    BackendMessage.objects.filter(identity=identity,
                                  name=BACKEND_NAME).delete()
Forget messages to/from this identity
dataset/ETHPy150Open rapidsms/rapidsms/rapidsms/contrib/httptester/storage.py/clear_messages