views_login (module)

Classes

Response([body, status, headerlist, …])

forbidden_view_config(**settings)

New in version 1.3.

login_view(request)

object()

The most base type

sha256_crypt([implicit_rounds])

This class implements the SHA256-Crypt password hash, and follows the password-hash-api.

templates_login(log, request[, …])

The worker class for the templates_login module

view_config(**settings)

A function, class or method decorator which allows a developer to create view registrations nearer to a :term:view callable definition than use :term:imperative configuration to do the same.

Functions

forbidden(request)

forget(request, **kw)

Return a sequence of header tuples (e.g.

get_users_and_groups(request)

Get the users and groups from the database

remember(request, userid, **kw)

Returns a sequence of header tuples (e.g.

view_defaults(**settings)

A class decorator which, when applied to a class, will provide defaults for all view configurations that use the class.

Sub-modules

HTTPFound([location, detail, headers, …])

subclass of _HTTPMove

Response([body, status, headerlist, …])

forbidden(request)

forbidden_view_config(**settings)

New in version 1.3.

forget(request, **kw)

Return a sequence of header tuples (e.g.

get_users_and_groups(request)

Get the users and groups from the database

logging

Logging package for Python.

login_view(request)

object()

The most base type

remember(request, userid, **kw)

Returns a sequence of header tuples (e.g.

sha256_crypt([implicit_rounds])

This class implements the SHA256-Crypt password hash, and follows the password-hash-api.

templates_login(log, request[, …])

The worker class for the templates_login module

view_config(**settings)

A function, class or method decorator which allows a developer to create view registrations nearer to a :term:view callable definition than use :term:imperative configuration to do the same.

view_defaults(**settings)

A class decorator which, when applied to a class, will provide defaults for all view configurations that use the class.

class login_view(request)[source]

Bases: object

login()[source]
forbidden(request)[source]