Re: RestController implementing a db limit on GET results

2009-09-25 Thread Mike Orr
On Fri, Sep 25, 2009 at 4:39 PM, Jon Collette wrote: > I'm using the RestController which generates a map.resources route: > > map.resource('message', 'message', controller='api/message', > path_prefix='/api', name_prefix='api_') > > This works great for GET calls:  /api/message  OR /api/message/

RestController implementing a db limit on GET results

2009-09-25 Thread Jon Collette
I'm using the RestController which generates a map.resources route: map.resource('message', 'message', controller='api/message', path_prefix='/api', name_prefix='api_') This works great for GET calls: /api/message OR /api/message/$message_id I would like to use the url: /api/message/$message_i

Re: pylons with chameleon? unescaping HTML

2009-09-25 Thread Iain Duncan
> Hm, the chameleon.zpt template has not seen as much love as the > chameleon.genshi version so it might have broken somewhere. Can you test > if chameleon.genshi works for you? If so I'll look at fixing up the > chameleon.zpt version. I've got the genshi templates being rendered, but I don't

Re: pylons with chameleon?

2009-09-25 Thread Iain Duncan
> Hm, the chameleon.zpt template has not seen as much love as the > chameleon.genshi version so it might have broken somewhere. Can you test > if chameleon.genshi works for you? If so I'll look at fixing up the > chameleon.zpt version. Thanks, Chameleon genshi is working with your correction.

Re: webhelpers feedgenerator

2009-09-25 Thread Mike Orr
On Fri, Sep 25, 2009 at 10:04 AM, vince spicer wrote: > Thanks, > > I looked for the code, didn't look on bitbucket though, ok sounds good I > have created a custom generator in the mean time till the fields get added The patch was so small, I applied it in tip. feedgenerator was ported from Dj

Re: Beaker error (Beaker 1.4.2 released)

2009-09-25 Thread Ben Bangert
On Sep 24, 2009, at 3:28 PM, Philip Jenvey wrote: >> Module beaker.synchronization:260 in do_acquire_write_lock >> << return False >> else: >> fcntl.flock(filedescriptor, fcntl.LOCK_EX) >> return True >> fcntl.flock(filedescriptor, fcntl.

Re: webhelpers feedgenerator

2009-09-25 Thread Mike Orr
On Fri, Sep 25, 2009 at 9:40 AM, vince spicer wrote: > RSS 2 needed fields > > I attached a small patch which adds a few Added a ticket http://bitbucket.org/bbangert/webhelpers/issue/7/rss2-fields-for-feedgenerator I'm in the middle of updating the documentation so it'll take a while to apply.

NotImplementedError

2009-09-25 Thread alex9999
Hello. How to make an exception for NotImplementedError for all project. I want to raise 404-error, when I make wrong URL --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "pylons-discuss" group. To post to this group

Re: Pylons Project Templates page in pylonshq wiki

2009-09-25 Thread Graham Higgins
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 25 Sep 2009, at 10:13, Chris Miles wrote: > I have created a page in the pylons wiki to list any community created > Pylons project templates. Good move. TW installs has a paster template for creating widgets, it's not Pylons-specific tho' so

Pylons Project Templates page in pylonshq wiki

2009-09-25 Thread Chris Miles
I have created a page in the pylons wiki to list any community created Pylons project templates. I couldn't find a page that listed these already, so if one exists let me know and I'll merge them together. I added the Pylons project templates that I know of: BlastOff, Shabti and PylonsTemp

BlastOff 0.2 released

2009-09-25 Thread Chris Miles
BlastOff is a Pylons application template providing a working site skeleton configured with SQLAlchemy, mako, repoze.who, ToscaWidgets, TurboMail, WebFlash and (optionally) SchemaBot. The generated app is pre-configured with authentication, login and registration forms, and (optionally) em

Re: pylons with chameleon?

2009-09-25 Thread Wichert Akkerman
On 2009-9-24 19:16, Mike Orr wrote: > > On Thu, Sep 24, 2009 at 9:03 AM, KMCB wrote: >> >> Mike, >> >> I think they may be talk about this >> >> http://chameleon.repoze.org/ > > So it's a template engine unifier, the way Buffet was and render_* > are. It also claims to be faster than the native