I don't have the recipe yet. Could you open a ticket at
https://github.com/TurboGears/tg2docs/issues so we can make sure to
track and get this resolved?

On Tue, Oct 9, 2012 at 5:36 PM, kgk <[email protected]> wrote:
>
> I have an application (on tg 2.1.5) that I am trying to base on tg 2.2
> which uses repoze.who v2 (repoze.who v1 has some issues for us)
>
>
> I think the docs (
> http://www.turbogears.org/2.2/docs/main/Auth/whoini.html#using-who-ini
> )  are out of date as they seem to require repoze.what specifically the
> lines
>  ---------------------
> from repoze.what.plugins.sql import configure_sql_adapters
> from repoze.what.middleware import AuthorizationMetadata
>
> from customwho import model
> auth_plugin = SQLAlchemyAuthenticatorPlugin(model.User, model.DBSession)
> md_plugin = SQLAlchemyUserMDPlugin(model.User, model.DBSession )
> _source_adapters = configure_sql_adapters(
> -------------------
>
> I notice that repoze.what has a dependency on repoze.who v1 so I am back
> where
> I started
>
> Given the new auth code for tg 2.2 does someone have an updated recipe for
> using with who.ini?
>
>
>
> --
> You received this message because you are subscribed to the Google Groups
> "TurboGears" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/turbogears/-/smRQF-xbwSIJ.
> 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?hl=en.



-- 
Michael J. Pedersen
My Online Resume: http://www.icelus.org/ -- Google+ http://plus.ly/pedersen
Google Talk: [email protected] -- Twitter: pedersentg

-- 
You received this message because you are subscribed to the Google Groups 
"TurboGears" 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?hl=en.

Reply via email to