On Wednesday 09 July 2008 12:09:23 Florent Aide wrote:
> On Wed, Jul 9, 2008 at 12:00 PM, Diez B. Roggisch <[EMAIL PROTECTED]> wrote:
> >> base_config.sa_auth.form_plugin = MyNewFangledFormPlugin()
> >
> > Where do I actually find these changes? I looked into
> >
> > http://svn.turbogears.org/projects/tgrepozewho/trunk/tgrepozewho/
>
> Diez,
>
> you'll find the tgrepoze code there:
>
> http://code.google.com/p/tgtools/

So is the above repository wrong? Shouldn't it be deleted then - it's 
misleading. Or will it be updated in time?

> But what you search certainly is located in repoze.who:
>
> http://svn.repoze.org/repoze.who/trunk/

Nope, it actually was inside the above repository :

http://code.google.com/p/tgtools/source/browse/projects/tg.ext.repoze.who/trunk/tg/ext/repoze/who/middleware.py?r=41#63

However, it's not exactly what I'd thought - having to pass the form-handler 
as explicit variable is a bit strange. I can do that of course, but then I 
totally have to bypass the code in tg.middleware. Which essentially means I 
could as well just create my own wsgi-wrapping.

But there is a pylons.config object passed. I'm a bloody noob regarding 
pylons - but why is it that the config parameters are explicitly passed 
inside tg.middleware? Wouldn't it make more sense to pass a config and let 
the extension decide which variables it actually cares about?

Diez

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"TurboGears Trunk" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/turbogears-trunk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to