Re: How important is the file structure (templates and static folder) in the package of a Pyramid Project

2012-09-23 Thread Mike Orr
On Sun, Sep 23, 2012 at 9:43 AM, Raj Nathani wrote: > Hey I'm kind of new to Pyramid and web frameworks in general. One of the > things I've learnt so far is that every Pyramid project created with a > starter > scaffold has a package in which there are two folders - templates and > static. > > Is

How important is the file structure (templates and static folder) in the package of a Pyramid Project

2012-09-23 Thread Raj Nathani
Hey I'm kind of new to Pyramid and web frameworks in general. One of the things I've learnt so far is that every Pyramid project created with a starter scaffold has a package in which there are two folders - templates and static. Is it necessary to keep the structure this way? Would the whole t

Re: AuthTktAuthenticationPolicy using MD5

2012-09-23 Thread Domen Kožar
Created pull request, changed the approach a bit: https://github.com/Pylons/pyramid/pull/695 On Sun, Sep 23, 2012 at 4:05 PM, Chris McDonough wrote: > On Sun, 2012-09-23 at 06:54 -0700, Florian Rüchel wrote: > > > > > > On Sunday, September 23, 2012 3:11:51 PM UTC+2, Chris McDonough wrote: > >

Re: AuthTktAuthenticationPolicy using MD5

2012-09-23 Thread Chris McDonough
On Sun, 2012-09-23 at 06:54 -0700, Florian Rüchel wrote: > > > On Sunday, September 23, 2012 3:11:51 PM UTC+2, Chris McDonough wrote: > On Sun, 2012-09-23 at 05:54 -0700, Florian Rüchel wrote: > > > > How about a script that's part of the framework > itse

Re: AuthTktAuthenticationPolicy using MD5

2012-09-23 Thread Florian Rüchel
On Sunday, September 23, 2012 3:11:51 PM UTC+2, Chris McDonough wrote: > > On Sun, 2012-09-23 at 05:54 -0700, Florian Rüchel wrote: > > > > How about a script that's part of the framework itself? We > > have pserve, > > pcreate... how about > > > > pk

Re: AuthTktAuthenticationPolicy using MD5

2012-09-23 Thread Domen Kožar
Thanks Florian, I'll try to come up with a sane patch based on this :) For generating secret, I would just update documentation to use something like: $ openssl rand -base64 32 On Sun, Sep 23, 2012 at 2:54 PM, Florian Rüchel wrote: > > How about a script that's part of the framework itself? We h

Re: AuthTktAuthenticationPolicy using MD5

2012-09-23 Thread Chris McDonough
On Sun, 2012-09-23 at 05:54 -0700, Florian Rüchel wrote: > > How about a script that's part of the framework itself? We > have pserve, > pcreate... how about > > pkeygen [-w ] > > or > > pyramid-keygen [-w ] > > I li

Re: AuthTktAuthenticationPolicy using MD5

2012-09-23 Thread Florian Rüchel
> How about a script that's part of the framework itself? We have pserve, > pcreate... how about > > pkeygen [-w ] > > or > pyramid-keygen [-w ] > I like this idea very much. I would like to either get this usage approved or I would just build a simple function inside pyramid. However,

ipython notebook support in pshell command

2012-09-23 Thread Ahmed
Hello all, can the pyramid pshell command support the new ipython notebook frontend? It already has an ipython and bpython shell support. apparently, the django shell is currently able to do that: https://github.com/django-extensions/django-extensions/issues/233 http://andrewbrookins.com/python/u