Yesterday i had this error y trying repoze.bfg, and since i'm using
buildout, i've just add the magical flag: prefer-final = true.
But seriously maybe not having any beta or alpha version on Pypi would
be a better idea, i tend to think that for these development versions,
we should use another find-links, no ?
On Thu, Oct 28, 2010 at 11:34 AM, Tres Seaver tsea...@palladion.com wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On 10/28/2010 08:54 AM, Roland Hedberg wrote:
Probably fell out in the move from 1.X to 2.0 .
Will it get back in or is it distributed as a separate package ?
As noted in the changelog (visible on the PyPI page):
http://pypi.python.org/pypi/repoze.who/
the deprecated plugins are now available in a standalone package:
http://pypi.python.org/pypi/repoze.who.deprecatedplugins
Note that the plugins are deprecated becuase they force a twisted amount
of coupling between the middleware (responsible for issueing the
challenge, but also for scraping the form values from the subsequent
POST) and the application (responsible for rendering the form).
The preferred mode under repoze.who 2.0 is now to use the 'redirector'
plugin to handle the challenge, and update the application view which
renders the login form to also handle the POST, and use the repoze.who
API object to validate and remember the credentials. See:
http://docs.repoze.org/who/2.0/configuration.html
for the example configuration, and:
http://docs.repoze.org/who/2.0/api.html#mixed-use-of-repoze-who-middleware-and-api
for an example of implementing the login view.
Tres.
- --
===
Tres Seaver +1 540-429-0999 tsea...@palladion.com
Palladion Software Excellence by Design http://palladion.com
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
iEYEARECAAYFAkzJmBQACgkQ+gerLs4ltQ7SdQCghG7Zq/5OlNYUBU1bNxzPAv7T
/gkAn0Aeo5DzI5/CxiCBx48E6RNyJFzI
=6yGg
-END PGP SIGNATURE-
___
Repoze-dev mailing list
Repoze-dev@lists.repoze.org
http://lists.repoze.org/listinfo/repoze-dev
--
Mathieu Leduc-Hamel
___
Repoze-dev mailing list
Repoze-dev@lists.repoze.org
http://lists.repoze.org/listinfo/repoze-dev