Re: Redirection question

2007-08-11 Thread Christoph Haas
On Sat, Aug 11, 2007 at 04:59:33AM -, [EMAIL PROTECTED] wrote: Hello guys, is it recommended that a controller action displays various templates?, or is better redirect to the appropiate controller action for it to display the template? Depends on whether you want the URL to change.

Re: Logging

2007-08-11 Thread Mike Orr
On 8/11/07, Christoph Haas [EMAIL PROTECTED] wrote: On Fri, Aug 10, 2007 at 09:31:58PM -0700, Mike Orr wrote: How do I get the Pylons logging to work in 0.9.6? I tried a few variations on import logging; logging.basicConfig(level=logging.DEBUG) in environment.py and middleware.py, but

Re: Logging

2007-08-11 Thread Christoph Haas
On Sat, Aug 11, 2007 at 02:28:31AM -0700, Mike Orr wrote: On 8/11/07, Christoph Haas [EMAIL PROTECTED] wrote: On Fri, Aug 10, 2007 at 09:31:58PM -0700, Mike Orr wrote: How do I get the Pylons logging to work in 0.9.6? I tried a few variations on import logging;

ProxyPass and authkit

2007-08-11 Thread Stefano Masini
Hi all, I've been having terrible headaches with serving my Pylons app behind Apache with ProxyPass directive. Specifically, it seems I cannot get the app to work correctly in the authentication phase. I wrote this in the config file: filter-with = proxy-prefix [filter:proxy-prefix] use =

Pylons add-ons

2007-08-11 Thread Alagu Madhu
Hi * Reports * Barcode * Plotting Is it possible to add Pylons 1.0 (Pylons add-ons) ? Thanks Madhu Alagu --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups pylons-discuss group. To post to this group,

Re: using tesla_auth: table name too long?

2007-08-11 Thread Jose Figueras
Hi, My working solution was to define table's names myself. Here is the diff output: 10c10,12 has_and_belongs_to_many('groups', of_kind='Group', inverse='members') --- has_and_belongs_to_many('groups', of_kind='Group', inverse='members', tablename='security_users_groups')

Re: Download area

2007-08-11 Thread Jose Figueras
Hi, I'm sorry but doesn't works for me. My solution was to transform my pylons (or paste or wsgi?) app into a composite app (for reference, you can see 'paste deploy' documentation): [-- development.ini --] [composite:main] use = egg:Paste#urlmap / = all /download = downloads

Re: page caching in mako and pylons

2007-08-11 Thread Ben Bangert
On Aug 10, 2007, at 5:42 PM, SamDonaldson wrote: Aside from page caching...is there fragment caching? In other words...page caching doesn't really help when you have a header on your page with logged in users etc. You can't serve that page. Is there a way, like Rails, to fragment cache parts

Re: ProxyPass and authkit

2007-08-11 Thread Philip Jenvey
On Aug 11, 2007, at 3:22 AM, Stefano Masini wrote: Hi all, I've been having terrible headaches with serving my Pylons app behind Apache with ProxyPass directive. Specifically, it seems I cannot get the app to work correctly in the authentication phase. I wrote this in the config file:

Re: Are my Python/Pylons concerns justified?

2007-08-11 Thread walterbyrd
On Aug 9, 4:35 am, Marcin Kasperski [EMAIL PROTECTED] wrote: A lot of answers already, so just two points: a) There are plenty of cheap VPS hosting options (you get I guess it depends on what you call cheap. I can get php5 hosting for $10/year (http://dollar-hosting.net/).

Re: Are my Python/Pylons concerns justified?

2007-08-11 Thread Cliff Wells
On Sat, 2007-08-11 at 13:51 -0700, walterbyrd wrote: On Aug 9, 4:35 am, Marcin Kasperski [EMAIL PROTECTED] wrote: A lot of answers already, so just two points: a) There are plenty of cheap VPS hosting options (you get I guess it depends on what you call cheap. I can get php5

Re: page caching in mako and pylons

2007-08-11 Thread Cliff Wells
On Sat, 2007-08-11 at 11:19 -0700, Ben Bangert wrote: You bet, you can cache any part of your templates (their fragments), and you can cache function calls as well. This extends not just throughout Mako, but into Pylons as well, where you can register functions in your controllers to be

Re: page caching in mako and pylons

2007-08-11 Thread Cliff Wells
On Sat, 2007-08-11 at 16:25 -0700, Cliff Wells wrote: Is there some way to verify that caching is working (aside from turning up database logging that is)? Nevermind. I got it. Also, it would be useful if Memcached support were added as an option. An interesting article here:

Pylons 0.9.6rc2 and AuthKit

2007-08-11 Thread Cliff Wells
I just started migrating my first Pylons app from 0.9.4 to 0.9.6rc2. Of course I'm running into problems with AuthKit (0.3.0pre5). I could probably hack them out, but I see right away that AuthKit 0.4presomething is kinda available and the docs for it are kinda available... should I upgrade or

Re: Themes in Pylons

2007-08-11 Thread Jose Galvez
Pylons is a fantastic framework, with lots of application structure built in. However, it offers no constraints, nor aid in the actual building of web sites. If you want to build in a consistent look and feel, you are going to have to build that all yourself. What I would recommend is using