Re: [Repoze-dev] how to get the response

2010-04-28 Thread Davide Moro
Il giorno mar, 27/04/2010 alle 12.31 -0400, Chris Rossi ha scritto: Ciao Davide, There is not a response already attached to the request, but your instance of HTTPFound *is* a response, so you would just set your cookie there: ppp = HTTPFound(location=request.application_url)

[Repoze-dev] repoze.bfg 1.3a2 released

2010-04-28 Thread Chris McDonough
repoze.bfg 1.3a2 has been released. You may install it via: easy_install -i http://dist.repoze.org/bfg/1.3/simple repoze.bfg Or via PyPI. The changelog follows 1.3a2 (2010-04-28) == Features - A locale negotiator no longer needs to be registered explicitly. The

Re: [Repoze-dev] [sqlalchemy] session lifecycle and wsgi

2010-04-28 Thread Chris Withers
King Simon-NFHD78 wrote: Have you read http://www.sqlalchemy.org/docs/session.html#lifespan-of-a-contextual-ses sion - it describes typical usage of a scoped session in a web application. I have now ;-) In your traditional structure, you could get an exception during session.commit() which

[Repoze-dev] form generation package recommended for use with BFG?

2010-04-28 Thread Chris Withers
Hi All, Is there anything akin to Django's form generation and handling stuff that's recommended for use with BFG? cheers, Chris -- Simplistix - Content Management, Batch Processing Python Consulting - http://www.simplistix.co.uk ___

[Repoze-dev] imperative configuration prevents application extension?

2010-04-28 Thread Chris Withers
Hi All, In the BFG book their are copious references to the fact that using imperative configuration (or the decorators, my preferred choice) is bad if you plan to write apps that might be extended by others. Am I right in understanding that this is because that method of configuration

[Repoze-dev] membership for BFG and composing multiple apps

2010-04-28 Thread Chris Withers
Final one of my trio for this evening... Is there anything like the ol' CMFMembership for BFG? (important bits for me: - where to store/get user info from - cookie authentication - login and logout forms - password reminder and reset forms and functionality) If there is such a beastie,

Re: [Repoze-dev] membership for BFG and composing multiple apps

2010-04-28 Thread Thomas G. Willis
I'll offer up this, NOT because I think you should use it, but it has lots of examples of varying quality to give you ideas on how you might compose auth/registration/password recorvery into an existing bfg app. http://bitbucket.org/twillis/identity.model/src You could use it, but I think

Re: [Repoze-dev] form generation package recommended for use with BFG?

2010-04-28 Thread Charlie Clark
Am 28.04.2010, 21:05 Uhr, schrieb Chris Withers ch...@simplistix.co.uk: Hi All, Is there anything akin to Django's form generation and handling stuff that's recommended for use with BFG? repoze.formish ? Charlie (fresh from spreading the word of BFG at World Plone Day and slightly worried

Re: [Repoze-dev] imperative configuration prevents application extension?

2010-04-28 Thread Shane Hathaway
On 04/28/2010 01:07 PM, Chris Withers wrote: In the BFG book their are copious references to the fact that using imperative configuration (or the decorators, my preferred choice) is bad if you plan to write apps that might be extended by others. Am I right in understanding that this is

Re: [Repoze-dev] form generation package recommended for use with BFG?

2010-04-28 Thread Rob Miller
Chris Withers wrote: Hi All, Is there anything akin to Django's form generation and handling stuff that's recommended for use with BFG? repoze.bfg.formish is probably your best bet right now: http://svn.repoze.org/repoze.bfg.formish/trunk/docs/index.rst it's being used pretty heavily by

Re: [Repoze-dev] LMS a BFG application

2010-04-28 Thread srikanth
Srikanth T srikant...@... writes: Hi We would like to share with you, an application we have developed using Repoze.BFG and KARL as basis. We want to contribute this project for Open Source Community. The application, is named as LMS( Leave management System ). We wish , LMS can act as a