rebecca.users is management user model and authentication.
| Github: | https://github.com/rebeccaframework/rebecca.users |
|---|
pip install rebecca.users
development:
pip install git+ssh://[email protected]:rebeccaframework/rebecca.users.git
config.include('rebecca.users')
custom login view:
def login(request):
username = request.POST['username']
password = request.POST['password']
user = authenticate(request, username, password)
if user:
headers = security.remember(request, user.username)
return HTTPFound(location='/', headers=headers)
return dict()
not a reference, but a topical guide that covers the common situations and commands people need.
run tests for source tree:
$ pip install -e .[testing] $ py.test
run all tests with tox:
$ pip install tox $ tox
- the changelog
- don't use sections to mark releases, because it makes the TOC too noisy