Re: match_param not behaving as expected - pyramid-1.2.1-Py2.7

2011-10-29 Thread Si
Thanks for the clarification, and your very prompt reply. For anyone following along, I've shown the correction to my example below. Michael; your article shows practical use of match_param beautifully: http://michael.merickel.org/2011/8/23/outgrowing-pyramid-handlers/ I agree the Pyramid

Chameleon: tal:condition test variable existence

2011-10-29 Thread Mark Erbaugh
Is there a way in a tal:condition test to test if a given variable has been defined? For example, if my view callable has not defined a variable in the response object, can I use a tal:condition to exclude a section of the template that depends on that variable being defined? Here's what I'm

Re: pyramid development environment

2011-10-29 Thread Stefano Fontanelli
Il 28/10/11 17.41, clemensherschel ha scritto: Finally, I am moving an application from pylons to pyramid. This is an opportunity to change platform from windows XP to linux. This offers me an opportunity to review my pyramid development environment. . I am using VM workstation 8. I am

Re: pyramid development environment

2011-10-29 Thread Bruce Wade
I use: Eclipse - Mylyn - PyDev - Egit - webtools virtualenv --no-site-packages pyramid_dev Ubuntu 11.10 the easiest distro to use if you just want things to work with out messing around to much. On Sat, Oct 29, 2011 at 8:21 AM, Stefano Fontanelli s.fontane...@asidev.com wrote: Il 28/10/11

Re: pyramid development environment

2011-10-29 Thread Clemens Herschel
Thanks. That advice helps me. Clemens On 10/29/2011 11:52 AM, Bruce Wade wrote: I use: Eclipse - Mylyn - PyDev - Egit - webtools virtualenv --no-site-packages pyramid_dev Ubuntu 11.10 the easiest distro to use if you just want things to work with out messing around to much. On Sat, Oct 29,

Re: Pyramid on cloud

2011-10-29 Thread John Rusnak
I am using google app engine. It has a much simpler database interface than SQLAlchemy, and also pushes you in the right directions to develop your app to be scalable, if that is important to you. I followed the directions for setting up a pyramid/pylons environment and had no trouble at all. My

Pyramid: same page / different locations in site tree

2011-10-29 Thread Mark Erbaugh
I have a website where essentially the same page needs to be viewed in two (or more locations). In particular, I have a page where the user can edit their personal profile information, and I would also like an administrator to be able to edit any user's profile. Keeping things DRY, I feel I