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.

Reply via email to