Re: Composite/multiple apps with pyramids

2011-02-18 Thread 371c
fixed. On Feb 17, 10:41 pm, Chris McDonough chr...@plope.com wrote: On Thu, 2011-02-17 at 22:37 +0100, eric cire wrote: done (https://github.com/Pylons/pyramid_jinja2/issues/18). Naming nanny: it's pyramid, not pyramids. ;) - C On Thu, Feb 17, 2011 at 5:14 PM, Rocky Burt

Re: some thoughts on pyramid

2011-02-18 Thread Jonathan Vanasco
1. I think it would be better if everything related to Pyramid/Pylons were on a single system ( ie: GitHub or BitBucket ). 2. The Pyramid stuff should have better linkage on PylonsHQ.com ; its a text-link buried in paragraphs. 3. I'm looking at the pyramid_sqla template. question.. i see stuff

Re: some thoughts on pyramid

2011-02-18 Thread Chris McDonough
On Fri, 2011-02-18 at 06:46 -0800, Jonathan Vanasco wrote: 1. I think it would be better if everything related to Pyramid/Pylons were on a single system ( ie: GitHub or BitBucket ). I'd like that too, but not everyone is comfortable with a single system. 2. The Pyramid stuff should have

Re: some thoughts on pyramid

2011-02-18 Thread Ben Bangert
On Feb 18, 2011, at 6:46 AM, Jonathan Vanasco wrote: 1. I think it would be better if everything related to Pyramid/Pylons were on a single system ( ie: GitHub or BitBucket ). Getting there got the Pylons framework on there, and most everything is on GitHub that the Pylons Project

Re: Composite/multiple apps with pyramids

2011-02-18 Thread Rocky Burt
So I wrote a functional test to reproduce the issue you created... https://github.com/Pylons/pyramid_jinja2/issues/18 The test I wrote can be found here... https://github.com/Pylons/pyramid_jinja2/commit/b60c4d8563befa75b7b014d47ca2d8d8b002b711 The test shows that creating composite

pyramid_sqla + auth

2011-02-18 Thread jamshed
Using pyramid_sqla I have the following login action: class AccountHandler(object): ..some code. @action(renderer='modules/account/login.html') def login(self): ..some code. Looking at the following docs:

Re: pyramid_sqla + auth

2011-02-18 Thread jamshed
one solution is to have a dummy view which redirects to the handler's action... On Feb 18, 12:27 pm, jamshed ibnad...@gmail.com wrote: Using pyramid_sqla I have the following login action: class AccountHandler(object):     ..some code.    

Re: pyramid_sqla + auth

2011-02-18 Thread Blaise Laflamme
You can have both @action and @view_config on your function, so it'll act as a login page or as a forbidden access page https://github.com/Pylons/pylonshq/blob/master/pylonshq/handlers/accounts.py#L24 On Feb 18, 3:27 pm, jamshed ibnad...@gmail.com wrote: Using pyramid_sqla I have the following

Re: some thoughts on pyramid

2011-02-18 Thread Iain Duncan
MVC meant something very different before web frameworks coopted the term. In fact, it was already leaning towards meaninglessness in the world of event-driven GUI frameworks before the web world started to use it. The term originated in Smalltalk, where it described a very precise

Re: pyramid_sqla + auth

2011-02-18 Thread jamshed
thanks.. i see that the login form kicks in when i visit http://pylonsproject.org/test however the view_config decorator doesn't work for my app for some reason (my earlier suggestion with the dummy view does work) using: ./pyramid_sqla-1.0rc1-py2.6.egg ./pyramid-1.0-py2.6.egg

Re: some thoughts on pyramid

2011-02-18 Thread Jonathan Vanasco
On Feb 18, 12:21 pm, Ben Bangert b...@groovie.org wrote: Getting there got the Pylons framework on there, and most everything is on GitHub that the Pylons Project encompassas. Which projects were you referring to that aren't? pyramid_sqla isn't. If Mike Orr wants help learning

Re: pyramid_sqla + auth

2011-02-18 Thread Blaise Laflamme
be sure to use config.scan() in your config intitailization. On Feb 18, 6:30 pm, jamshed ibnad...@gmail.com wrote: thanks.. i see that the login form kicks in when i visithttp://pylonsproject.org/test however the view_config decorator doesn't work for my app for some reason (my earlier

Re: pyramid_sqla + auth

2011-02-18 Thread jamshed
thanks again! On Feb 18, 4:17 pm, Blaise Laflamme bla...@laflamme.org wrote: be sure to use config.scan() in your config intitailization. On Feb 18, 6:30 pm, jamshed ibnad...@gmail.com wrote: thanks.. i see that the login form kicks in when i visithttp://pylonsproject.org/test however