https://github.com/pylons/cartouche
Reusable user registration views for Pyramid apps.
https://github.com/pylons/cartouche
Last synced: 9 months ago
JSON representation
Reusable user registration views for Pyramid apps.
- Host: GitHub
- URL: https://github.com/pylons/cartouche
- Owner: Pylons
- License: other
- Created: 2011-11-07T19:01:10.000Z (about 14 years ago)
- Default Branch: master
- Last Pushed: 2014-04-17T17:41:14.000Z (over 11 years ago)
- Last Synced: 2024-04-08T17:10:54.103Z (almost 2 years ago)
- Language: Python
- Homepage:
- Size: 630 KB
- Stars: 12
- Watchers: 13
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.txt
- Changelog: CHANGES.txt
- License: LICENSE.txt
Awesome Lists containing this project
README
``cartouche`` README
====================
This package provides a set of applications which can be used to drive
"registration-based" sites:
- registration
- login / logout
- change password
- password recovery
- profile editing
- user / group administration
``cartouche`` is built on the following components:
- The ``cartouche`` applications run atop the ``pyramid`` framework, using
``chameleon`` for their templating, and ``deform`` for form schema /
validation handling.
- ``cartouche`` stores users, profiles, and groups in a ``ZODB`` database
(you can override this by registering adapters which use different
persistence).
- ``cartouche`` uses ``zope.password`` to do password hashing / checking.
- ``cartouche`` plugs into ``repoze.who`` as an authenticator, a challenger,
and a metadata provider.
- If your app doesn't use the ``repoze.who`` middleware, you can plug
``cartouche`` in as a ``pyramid`` "authentication policy (cartouche still
uses the ``repoze.who`` API in this case).
Please see ``docs/index.rst`` for the documentation, which can also be
read online at:
http://packages.python.org/cartouche
Quick Start
-----------
Install into your virtualenv::
$ /path/to/virtualenv/bin/python setup.py develop
If you have a working MTA on localhost:25::
$ /path/to/venv/bin/paster serve development.ini
If you don't have working MTA on localhost:25, the ``no_mail`` configuration
prints any sent mail to the console::
$ /path/to/venv/bin/paster serve development.ini --app-name=no_mail