Re: Quickie about absolute urls

2008-10-15 Thread Toby Catlin
You legend, that's exactly what i was looking for.I couldn't find any documentation on this helper function, is there some? On Tue, Oct 14, 2008 at 8:00 PM, Matthew Zwier [EMAIL PROTECTED] wrote: How about adding qualified=True to the arguments for url_for()? On Tue, Oct 14, 2008 at 8:45 AM,

Re: Quickie about absolute urls

2008-10-15 Thread Matthew Zwier
http://docs.pylonshq.com/thirdparty/routes.html#routes.util.url_for It's from the new 0.9.7 documentation (http://docs.pylonshq.com/index.html ), which is far more coherent than what's available from the Pylons wiki. Much (if not most) of it still applies to 0.9.6, though. On Wed, Oct 15, 2008

IOError: request data read error

2008-10-15 Thread Wayne Witzel
Anyone else experiencing this error? I am getting WebApp Error mails, the error occurs 5-10 times a day on my production site. Unable to find a pattern or reproduce it. Currently running under Apache 2.2 and mod_wsgi with the 0.9.6 version of Pylons. From looking at the error, it seems as if the

Re: Pylons: pros and cons

2008-10-15 Thread Tomasz Nazar
Thanks for such detailed answer Michael. On Tue, Oct 14, 2008 at 5:20 AM, Michael Bayer [EMAIL PROTECTED] wrote: On Oct 13, 12:14 pm, Tomasz Nazar [EMAIL PROTECTED] wrote: 2) SQLAlchemy 2nd level cache That is most frustrating for me coming from Hibernate, where it's built in. You may

Re: Pylons: pros and cons

2008-10-15 Thread Michael Bayer
On Oct 15, 7:40 am, Tomasz Nazar [EMAIL PROTECTED] wrote: Also code would be a lot simpler: confs = dbsession().query(Conference).filter(XXX).all() %for conf in confs:        ${conf} ${conf.author} ${conf.author.phone} etc... It's that simple with cache being used. Without that...

Re: Pylons: pros and cons

2008-10-15 Thread Paweł Stradomski
W liście Tomasz Nazar z dnia środa 15 października 2008: I started to play with SQLa joins and 'add_entity' feature lately, so if I would get all objects in one query that would be not so bad. However, to do that one needs to learn SQLa query language a lot, and build some advanced queries

Re: Pylons: pros and cons

2008-10-15 Thread Jorge Vargas
On Mon, Oct 13, 2008 at 10:11 PM, Mike Orr [EMAIL PROTECTED] wrote: On Mon, Oct 13, 2008 at 9:14 AM, Tomasz Nazar [EMAIL PROTECTED] wrote: Hi there! I've been a Pylons user for more than a year already. Few other people in the neighbourhood ask me for Pylons advantages often, so I also

Pylons Authentication Options

2008-10-15 Thread Steven
I'm a newbie trying to get a grasp on what options I have for Authentication and Authorization. From reading the docs and the pylonsbook.com I've found 2 options so far: repoze.who (ported from Zope) AuthKit (work in progress? ) Are there others?

Re: AuthKit Newbie Woes

2008-10-15 Thread Steven
Thanks! Moving the middleware line worked and I was able to get through the SimpleSite Part 3 Auth tutorial. Btw, I wanted to take this opportunity to let you know I'm really enjoying your Pylons Book, really great and pertinent information! On Oct 14, 3:44 pm, James Gardner [EMAIL PROTECTED]

A thought from a newbie

2008-10-15 Thread Steven
(If this is off base please feel free to tell me to go back to my newbie corner and RTFM some more.. ). I've been working through the pylonsbook tutorial (and thoroughly enjoying the process). One thing I've noticed is that there is some repetition in the way that components are added to a

Re: Pylons Authentication Options

2008-10-15 Thread Mike Orr
On Wed, Oct 15, 2008 at 11:03 AM, Steven [EMAIL PROTECTED] wrote: I'm a newbie trying to get a grasp on what options I have for Authentication and Authorization. From reading the docs and the pylonsbook.com I've found 2 options so far: repoze.who (ported from Zope) AuthKit (work in

Re: Pylons: pros and cons

2008-10-15 Thread Mike Orr
On Wed, Oct 15, 2008 at 10:25 AM, Jorge Vargas [EMAIL PROTECTED] wrote: On Mon, Oct 13, 2008 at 10:11 PM, Mike Orr [EMAIL PROTECTED] wrote: On Mon, Oct 13, 2008 at 9:14 AM, Tomasz Nazar [EMAIL PROTECTED] wrote: Is reason other than problems with pure Python imports (which don't work well

Re: beaker 1.0+ broken on GAE

2008-10-15 Thread Walter Cruz
I'm still getting the Module beaker.ext.google:24 in __init__ def __init__(self, namespace, table_name='beaker_cache', **params): Creates a datastore namespace manager NamespaceManager.__init__(self, namespace, **params) def make_cache():

Re: beaker 1.0+ broken on GAE

2008-10-15 Thread Mike Orr
On Wed, Oct 15, 2008 at 2:21 PM, Walter Cruz [EMAIL PROTECTED] wrote: I'm still getting the Module beaker.ext.google:24 in __init__ def __init__(self, namespace, table_name='beaker_cache', **params): Creates a datastore namespace manager

Re: Pylons Authentication Options

2008-10-15 Thread MilesTogoe
Mike Orr wrote: On Wed, Oct 15, 2008 at 11:03 AM, Steven [EMAIL PROTECTED] wrote: I'm a newbie trying to get a grasp on what options I have for Authentication and Authorization. From reading the docs and the pylonsbook.com I've found 2 options so far: repoze.who (ported from Zope)

Re: Pylons Authentication Options

2008-10-15 Thread Mike Orr
On Wed, Oct 15, 2008 at 3:29 PM, Mike Orr [EMAIL PROTECTED] wrote: On Wed, Oct 15, 2008 at 3:22 PM, MilesTogoe [EMAIL PROTECTED] wrote: Mike Orr wrote: On Wed, Oct 15, 2008 at 11:03 AM, Steven [EMAIL PROTECTED] wrote: I'm a newbie trying to get a grasp on what options I have for

Re: IOError: request data read error

2008-10-15 Thread Graham Dumpleton
On Oct 16, 1:24 am, Wayne Witzel [EMAIL PROTECTED] wrote: Anyone else experiencing this error? I am getting WebApp Error mails, the error occurs 5-10 times a day on my production site. Unable to find a pattern or reproduce it. Currently running under Apache 2.2 andmod_wsgiwith the 0.9.6

Re: Pylons Authentication Options

2008-10-15 Thread Mike Orr
On Wed, Oct 15, 2008 at 3:22 PM, MilesTogoe [EMAIL PROTECTED] wrote: Mike Orr wrote: On Wed, Oct 15, 2008 at 11:03 AM, Steven [EMAIL PROTECTED] wrote: I'm a newbie trying to get a grasp on what options I have for Authentication and Authorization. From reading the docs and the

Re: Pylons: pros and cons

2008-10-15 Thread Tomasz Nazar
On Tue, Oct 14, 2008 at 5:20 AM, Michael Bayer [EMAIL PROTECTED] wrote: On Oct 13, 12:14 pm, Tomasz Nazar [EMAIL PROTECTED] wrote: 1) all model classes are defined in 1 file together with database mapping like everyone is saying, you can roll this however you want and however is

Re: Pylons: pros and cons

2008-10-15 Thread Mike Orr
On Wed, Oct 15, 2008 at 4:35 PM, Tomasz Nazar [EMAIL PROTECTED] wrote: On Tue, Oct 14, 2008 at 5:20 AM, Michael Bayer [EMAIL PROTECTED] wrote: On Oct 13, 12:14 pm, Tomasz Nazar [EMAIL PROTECTED] wrote: 1) all model classes are defined in 1 file together with database mapping like everyone