[Repoze-dev] flashing messages with bfg

2009-07-08 Thread Iain Duncan
Hey folks, wondering what the conventional way of flashing a message after a model update when using HTTPFound for redirects. Is this something that people roll-their-own for, or is there a standard to follow? I'd like to make sure my crud app is as bfg'ish as possible so it can be useful to

Re: [Repoze-dev] flashing messages with bfg

2009-07-08 Thread Iain Duncan
On Wed, 2009-07-08 at 02:36 -0400, Chris McDonough wrote: We don't have a convention for flash. I've been remiss in seeing how the other frameworks implement this, but I *think* something like this would be closest: return render_template_to_response('some/template.pt', message='Updated')

Re: [Repoze-dev] flashing messages with bfg

2009-07-08 Thread Chris McDonough
On 7/8/09 2:54 AM, Iain Duncan wrote: On Wed, 2009-07-08 at 02:36 -0400, Chris McDonough wrote: We don't have a convention for flash. I've been remiss in seeing how the other frameworks implement this, but I *think* something like this would be closest: return

[Repoze-dev] Getting Started with repoze.bfg - installing repoze.shootout, lxml errors

2009-07-08 Thread david bain
I stuck at installing repoze.shootout. using python2.4, virtualenv --no-site-packages, and ubuntu with build-essentials. I went through the repoze documentation and getting started was pretty manageable. then I tried to install a sample application. I checked out repoze.shootout and discovered

Re: [Repoze-dev] Getting Started with repoze.bfg - installing repoze.shootout, lxml errors

2009-07-08 Thread david bain
Okay, I needed libxslt-dev also. sudo apt-get install libxslt-dev libxml2-dev seems to have done it. This needs to be mentioned, preferably right next to the instructions for getting repoze.shootout and the other sample applications. Is 'python setup.py develop' the correct approach? On Wed,

Re: [Repoze-dev] Problems with repoze.sphinx.autointerface

2009-07-08 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Thomas Lotze wrote: Alec Munro wrote: Seems this depends on docutils 0.5, as when used with docutils 0.4, it tries to import Directive from docutils.parsers.rst. Which isn't there. Upon updating docutils, it seems like it may not like sphinx

Re: [Repoze-dev] Problems with repoze.sphinx.autointerface

2009-07-08 Thread Thomas Lotze
Tres Seaver wrote: I haven't had a chance to look at it, and likely won't have for a bit. I would be glad to apply a patch and release a new version, if that would help. OK, I'll try to come up with one. -- Thomas ___ Repoze-dev mailing list

Re: [Repoze-dev] Getting Started with repoze.bfg - installing repoze.shootout, lxml errors

2009-07-08 Thread Chris McDonough
On 7/8/09 9:23 AM, david bain wrote: Okay, I needed libxslt-dev also. sudo apt-get install libxslt-dev libxml2-dev seems to have done it. This needs to be mentioned, preferably right next to the instructions for getting repoze.shootout and the other sample applications. Is 'python

Re: [Repoze-dev] Getting Started with repoze.bfg - installing repoze.shootout, lxml errors

2009-07-08 Thread david bain
Chris, Thanks, this is really helpful, I'm sure it will lower the barrier for a few newbies. On Wed, Jul 8, 2009 at 11:02 AM, Chris McDonough chr...@plope.com wrote: On 7/8/09 9:23 AM, david bain wrote: Okay, I needed libxslt-dev also. sudo apt-get install libxslt-dev libxml2-dev seems to

Re: [Repoze-dev] Problems with repoze.sphinx.autointerface

2009-07-08 Thread Thomas Lotze
Tres Seaver wrote: I haven't had a chance to look at it, and likely won't have for a bit. I would be glad to apply a patch and release a new version, if that would help. Actually, the immediate reason for the registration of the directive to break seems to have been fixed on the trunk back in