Thanks, it would be nice to see some more examples of django usage with twisted. I&#39;ve searched the web a while ago, but could only find a few examples. Especially the <div>part about multi-threading/async would be nice to read something about(doesn&#39;t make much sense to me yet). All i know is that i used a single-threaded wsgi thing to make the autoreload</div>
<div>functionality work(useful for webdevving).</div><div><br></div><div>cheers,</div><div><br></div><div>Jeroen<br><br><div class="gmail_quote">2011/9/20 Fabian Rothfuchs <span dir="ltr">&lt;<a href="mailto:fabian.rothfuchs@googlemail.com">fabian.rothfuchs@googlemail.com</a>&gt;</span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div style="word-wrap:break-word;color:rgb(0, 0, 0);font-size:14px;font-family:Calibri, sans-serif"><div>Hey Jeroen,</div>
<div><br></div><div>As I learned so far, using WSGI to combine Django and Twisted isn&#39;t a bad thing in general.</div><div>It&#39;s just that you need to align your code and &#39;mental model&#39; to develop multi-threaded (WSGI) or asynchronous (if that makes any difference to you at all).</div>
<div><br></div><div>In my special case, I develop a network middleware system where thread-safetiness is extremely important and it&#39;s more than realistic that </div><div>If I&#39;d use non-thread-safe techniques, my modules will bite each other :) </div>
<div><br></div><div>So I think you&#39;re good (but I&#39;m still a Twisted noob).</div><div><br></div><div>Cheers</div><div>Fabian</div><div><br></div><div><br></div><span><div style="font-family:Calibri;font-size:11pt;text-align:left;color:black;border-bottom:medium none;border-left:medium none;padding-bottom:0in;padding-left:0in;padding-right:0in;border-top:#b5c4df 1pt solid;border-right:medium none;padding-top:3pt">
<span style="font-weight:bold">From: </span> Jeroen van Veen &lt;<a href="mailto:j.veenvan@gmail.com" target="_blank">j.veenvan@gmail.com</a>&gt;<div class="im"><br><span style="font-weight:bold">Reply-To: </span> Twisted general discussion &lt;<a href="mailto:twisted-python@twistedmatrix.com" target="_blank">twisted-python@twistedmatrix.com</a>&gt;<br>
</div><span style="font-weight:bold">Date: </span> Tue, 20 Sep 2011 21:33:39 +0200<div class="im"><br><span style="font-weight:bold">To: </span> Twisted general discussion &lt;<a href="mailto:twisted-python@twistedmatrix.com" target="_blank">twisted-python@twistedmatrix.com</a>&gt;<br>
<span style="font-weight:bold">Subject: </span> Re: [Twisted-Python] Twisted-Python Digest, Vol 90, Issue 16<br></div></div><div><div></div><div class="h5"><div><br></div>For this websocket cms project im working on, i also run django in a wsgi container. I wonder if im using  it the right way? (<a href="https://github.com/phrearch/hwios/blob/master/services/web_ui/service.py" target="_blank">https://github.com/phrearch/hwios/blob/master/services/web_ui/service.py</a>)<div>
<br></div><div>cheers,</div><div><br></div><div>Jeroen<br><br><div class="gmail_quote">2011/9/20 Glyph Lefkowitz <span dir="ltr">&lt;<a href="mailto:glyph@twistedmatrix.com" target="_blank">glyph@twistedmatrix.com</a>&gt;</span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word"><div><br><div><div>On Sep 20, 2011, at 1:12 PM, Fabian Rothfuchs wrote:</div><br><blockquote type="cite">
<span style="border-collapse:separate;font-family:Menlo;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:-webkit-auto;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;font-size:medium"><span style="font-family:monospace">I feel quite happy with that solution till now (planning since 4 hours and<br>

it seems like it could be really working).<br></span></span></blockquote></div><br></div><div>Great, glad to hear it.  Let us know how it goes!</div></div><br>_______________________________________________<br>
Twisted-Python mailing list<br><a href="mailto:Twisted-Python@twistedmatrix.com" target="_blank">Twisted-Python@twistedmatrix.com</a><br><a href="http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python" target="_blank">http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python</a><br>
<br></blockquote></div><br></div></div></div>
_______________________________________________
Twisted-Python mailing list
<a href="mailto:Twisted-Python@twistedmatrix.com" target="_blank">Twisted-Python@twistedmatrix.com</a>
<a href="http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python" target="_blank">http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python</a>
</span></div>
<br>_______________________________________________<br>
Twisted-Python mailing list<br>
<a href="mailto:Twisted-Python@twistedmatrix.com">Twisted-Python@twistedmatrix.com</a><br>
<a href="http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python" target="_blank">http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python</a><br>
<br></blockquote></div><br></div>