Re: How does WSGI work?

2019-03-09 Thread Scot Hacker
Excellent summary - should be posted for posterity on a blog or something. I don't know enough about wsgi internals to add to this, but would have been nice to have this to read the first time I set up a server, back in the day. ./s On Tuesday, February 26, 2019 at 10:26:43 AM UTC-8, Tal wrot

Re: Static files in production [Was: How does WSGI work?]

2019-03-08 Thread Tal
Ok - maybe I'll try to get a hold of Grahame Dumpleton when I have some time. Thanks guys PS. Python frameworks like Flask or Django are good at making decisions about what response to return for a given request, and returning it. In most cases, that response is an HTML page, or json, or somet

Static files in production [Was: How does WSGI work?]

2019-03-07 Thread Mike Dewhirst
On 8/03/2019 11:54 am, Joel Mathew wrote: There's a mod_wsgi_express thread that Graham monitors, so he's sure to get feedback from there Understanding this better could help me solve static file blues. Most of the time I don't understand why my static files fine aren't served when I move to

Re: How does WSGI work?

2019-03-07 Thread Joel Mathew
There's a mod_wsgi_express thread that Graham monitors, so he's sure to get feedback from there Understanding this better could help me solve static file blues. Most of the time I don't understand why my static files fine aren't served when I move to production. On Fri, 8 Mar, 2019, 5:29 AM Mike

Re: How does WSGI work?

2019-03-07 Thread Mike Dewhirst
On 8/03/2019 10:11 am, Tal wrote: The word "simple" appears 13 times in PEP, but no one knows how this magical specification works? Can anyone confirm I'm not crazy please? You could try writing to Grahame Dumpleton for confirmation. I'm reasonably sure he wrote mod_wsgi and ought to be a

Re: How does WSGI work?

2019-03-07 Thread Tal
The word "simple" appears 13 times in PEP, but no one knows how this magical specification works? Can anyone confirm I'm not crazy please? On Tuesday, February 26, 2019 at 3:13:00 PM UTC-7, Tal wrote: > > Is it right though? > > On Tuesday, February 26, 2019 at 2:49:03 PM UTC-7, mike wrote: >

Re: How does WSGI work?

2019-02-26 Thread Tal
Is it right though? On Tuesday, February 26, 2019 at 2:49:03 PM UTC-7, mike wrote: > > Great write up! > > On Tue, Feb 26, 2019 at 2:39 PM Tal > > wrote: > >> Did I get something wrong? >> Do you mean the devs working on the Django project know nothing about >> this, or the devs using Django to

Re: How does WSGI work?

2019-02-26 Thread m1chael
Great write up! On Tue, Feb 26, 2019 at 2:39 PM Tal wrote: > Did I get something wrong? > Do you mean the devs working on the Django project know nothing about > this, or the devs using Django to build web apps? > From what I've read, devs using Django don't need to be too familiar with > WSGI,

Re: How does WSGI work?

2019-02-26 Thread Tal
Did I get something wrong? Do you mean the devs working on the Django project know nothing about this, or the devs using Django to build web apps? >From what I've read, devs using Django don't need to be too familiar with WSGI, but it seems like it helps at least having a conceptual understanding

Re: How does WSGI work?

2019-02-26 Thread Motaz Hejaze
You are very close to what realy happens , most of devs know nothing aboutbthis stuff On Tue, 26 Feb 2019, 20:26 Tal, wrote: > I've been developing web applications using Flask and Django for about a > year now, and although I've come across the term WSGI a bunch of times in > both frameworks, I

How does WSGI work?

2019-02-26 Thread Tal
I've been developing web applications using Flask and Django for about a year now, and although I've come across the term WSGI a bunch of times in both frameworks, I never really understood what it did. I'm sure I'm not the only one. The quick explanations I read never made sense to me. Even PE