Re: what are the things you can rely on in pylons world?

2010-07-23 Thread b vivek
Hii aliko, I had the same problem with pylons when i started . By the time I had started working on or learning pylons, 1.0 was already out and the pylons book was 0.9.7. So what I did was that I instead of using 1.0, I installed pylons 0.9.7 and started working it with the help of pylons book whic

what are the things you can rely on in pylons world?

2010-07-23 Thread aliko
Hi! I'm new to pylons as well as to developing web applications. C/C++ and embedded world much more familiar to me but I have developed desktop applications using python and thought python web framework could become a window to a new world for me. The Pylons is looked most attractive among othes.

Re: Returning a file object from an action

2010-07-23 Thread Mike Orr
On Fri, Jul 23, 2010 at 4:52 AM, Jens Hoffrichter wrote: > On 22 July 2010 20:01, Mike Orr wrote: > I think you want something like this. > > from paste.fileapp import FileApp > > # in controller >     #...in some action, get the path to serve >    

Re: Share your Pylons best-practices?

2010-07-23 Thread Diana Clarke
I've written two pylons apps now: the first a typical web application, and the second a RESTful API. In both cases I started with: paster create -t pylons helloworld followed by (for the web application): paster controller hello or (for the RESTful API): paster restcontroller hell

Re: Kerberos using AuthKit, repoze.who or something else

2010-07-23 Thread Gustavo Narea
Hello. Just a small clarification: On Jul 16, 9:34 pm, Aurynn Shaw wrote: > The flow is, the Identifier tests for the user credentials (can look in > the HTTP environment, as well as cookies), and if the user is not logged > in, passes to the Challenger. The Challenger requests credentials (a 40

Re: Returning a file object from an action

2010-07-23 Thread Jens Hoffrichter
On 22 July 2010 20:01, Mike Orr wrote: >>> > I think you want something like this. >>> > >>> > from paste.fileapp import FileApp >>> > >>> > # in controller >>> >     #...in some action, get the path to serve >>> >     wsgi_app = FileApp(path) >>> >     return wsgi_app(request