fietsboek.views.admin module

Admin views.

fietsboek.views.admin.admin(request)

Renders the main admin overview.

Parameters:

request (pyramid.request.Request) – The Pyramid request.

Returns:

The HTTP response.

Return type:

pyramid.response.Response

fietsboek.views.admin.do_badge_add(request)

Adds a badge.

This is the endpoint of a form on the admin overview.

Parameters:

request (pyramid.request.Request) – The Pyramid request.

Returns:

The HTTP response.

Return type:

pyramid.response.Response

fietsboek.views.admin.do_badge_delete(request)

Removes a badge.

This is the endpoint of a form on the admin overview.

Parameters:

request (pyramid.request.Request) – The Pyramid request.

Returns:

The HTTP response.

Return type:

pyramid.response.Response

fietsboek.views.admin.do_badge_edit(request)

Modifies an already existing badge.

This is the endpoint of a form on the admin overview.

Parameters:

request (pyramid.request.Request) – The Pyramid request.

Returns:

The HTTP response.

Return type:

pyramid.response.Response