[Answered ]-Call piston handler in django view function

2👍

The error message is telling you that the read method of GenericHander is an instance method, not a classmethod. You’ll need to instantiate the object before you can call the method.

Without knowing anything more about the class or method, this might work:

handler = GenericHandler()
results = handler.read(request, uuid)

but the instantiation call might need some parameters, which should be documented.

Leave a comment