Thread-safe object-oriented views in Django

An interesting read.

Writing views as classes is made possible by Python features that allow classes and objects to behave as callables, just like functions. They can help organize view code and promote reusability by offering a greater level of customization. However, callable objects sometimes have thread safety issues that developers are often not aware of.

—from codysoyland.com

I found this while looking for information on Django thread safety. Is it possible for me to handle events coming from hardware in the same Django thread or not? Seems that there are problems.

Might be easier to create separate process for hardware monitor and use some IPC method to send signals about changed data. I hate polling.