Re: database best practices: how to manage sac

2007-08-08 Thread voltron
Hi Jose! Now I´m confused, I thought one was supposed to delete the sessions at the beginning of the controller function in question, does putting the call in base.py eliminate the need to add del calls in every controller function? Thanks On Aug 8, 5:33 am, jose [EMAIL PROTECTED] wrote:

Re: sqlalchemy is returning the wrong data

2007-08-08 Thread Tomasz Nazar
On 8/7/07, Mike Orr [EMAIL PROTECTED] wrote: On 8/6/07, jose [EMAIL PROTECTED] wrote: On a different note with my current setup (using extension=sac.ext) I thing that the explicit save (rec.save() from the example above) is not really necessary is it? No, sac.ext implicitly does the

Re: Are my Python/Pylons concerns justified?

2007-08-08 Thread Echo
On 8/8/07, walterbyrd [EMAIL PROTECTED] wrote: I have been looking at different PHP and Python frameworks. The only Python framework that I have actually toyed with at all, is Django. I like Python better than PHP, but I think there may be compelling advantages to PHP when it comes to

Re: Are my Python/Pylons concerns justified?

2007-08-08 Thread ToddG
On Aug 8, 1:57 pm, walterbyrd [EMAIL PROTECTED] wrote: I like Python better than PHP, but I think there may be compelling advantages to PHP when it comes to frameworks. Issues that concerns me with Python, and Python frameworks, include: hosting, deployment, configuration and administrative

Re: Are my Python/Pylons concerns justified?

2007-08-08 Thread Ben Bangert
On Aug 8, 2007, at 10:57 AM, walterbyrd wrote: I like Python better than PHP, but I think there may be compelling advantages to PHP when it comes to frameworks. Issues that concerns me with Python, and Python frameworks, include: hosting, deployment, configuration and administrative overhead.

Re: database best practices: how to manage sac

2007-08-08 Thread voltron
Cool, nice to know! On Aug 8, 7:19 pm, Daniel Tang [EMAIL PROTECTED] wrote: Yes it does, since it's in the base controller. On 8/8/07, voltron [EMAIL PROTECTED] wrote: Hi Jose! Now I´m confused, I thought one was supposed to delete the sessions at the beginning of the controller

Re: Are my Python/Pylons concerns justified?

2007-08-08 Thread Jose Galvez
Apache will not have to re restarted, but you pylons application will have to be restarted. Also if you're in a shared environment you might want to take a look at workingenv which simplifies using python in that environment Jose On 8/8/07, walterbyrd [EMAIL PROTECTED] wrote: On Aug 8, 12:16

Themes in Pylons

2007-08-08 Thread delilah_302
Is there (or will there be) any concept of themes for Pylons? In the week or so I've been looking at Pylons, I've seen how to use CSS and Mako templates to give the application you are developing a consistent look and feel but I'm not sure how to extend that same look and feel to other

WebOb and WebTest

2007-08-08 Thread Ian Bicking
I mentioned WSGIObj before (or maybe I was calling it WSGIReq at the time). Anyway, it is now mostly done, and I've named it WebOb. This is a replacement for paste.wsgiwrappers, but covers the functionality of paste.request, paste.response, paste.wsgilib, and paste.httpheaders. I've also

Re: database best practices: how to manage sac

2007-08-08 Thread Max Ischenko
Hi Jose, On 8/8/07, jose [EMAIL PROTECTED] wrote: I just found out that we should be deleting the current session in base.py. So in base.py you should have del model.sac.session_context.current which effectively would clear the session which is what I think you wanted from your