How can I tell Firewall to allow incoming connections for Python.app running Django

Solution 1:

Signing the python application, using the instruction in the answer to this question, worked for me.