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 (
) 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?