fietsboek.views.default module

Home views.

fietsboek.views.default.do_login(request)

Endpoint for the login form.

Parameters:

request (Request) – The Pyramid request.

Return type:

Response

Returns:

The HTTP response.

fietsboek.views.default.do_password_reset(request)

Endpoint for the password request form.

Parameters:

request (Request) – The Pyramid request.

Return type:

Response

Returns:

The HTTP response.

fietsboek.views.default.do_resend_verification(request)

Endpoint for the verification resend form.

Parameters:

request (Request) – The Pyramid request.

Return type:

Response

Returns:

The HTTP response.

fietsboek.views.default.home(request)

Renders the home page.

Parameters:

request (Request) – The Pyramid request.

Return type:

Response

Returns:

The HTTP response.

fietsboek.views.default.login(request)

Renders the login page.

Parameters:

request (Request) – The Pyramid request.

Return type:

Response

Returns:

The HTTP response.

fietsboek.views.default.logout(request)

Logs the user out.

Parameters:

request (Request) – The Pyramid request.

Return type:

Response

Returns:

The HTTP response.

fietsboek.views.default.password_reset(request)

Form to request a new password.

Parameters:

request (Request) – The Pyramid request.

Return type:

Response

Returns:

The HTTP response.

fietsboek.views.default.resend_verification(_request)

Form to request a new verification mail.

Parameters:

request – The Pyramid request.

Return type:

Response

Returns:

The HTTP response.

fietsboek.views.default.static_page(request)

Renders a static page.

Parameters:

request (Request) – The Pyramid request.

Return type:

Response

Returns:

The HTTP response.

fietsboek.views.default.use_token(request)

Endpoint with which a user can use a token for a password reset or email verification.

Parameters:

request (Request) – The Pyramid request.

Return type:

Response

Returns:

The HTTP response.