我正在编写一个django应用程序,它应该充当MQTT发布者和订阅者.
我应该在哪里启动paho客户端并运行loop_forever()函数.
它应该在wsgi.py吗?
python django mqtt paho
django ×1
mqtt ×1
paho ×1
python ×1