fietsboek.views.profile module

Endpoints for the user profile pages.

fietsboek.views.profile.json_summary(request)

Returns the per-month summary as JSON.

Parameters:

request (Request) – The pyramid request.

Return type:

Response

Returns:

The response, rendered as JSON.

fietsboek.views.profile.profile(request)

Shows the profile page.

Parameters:

request (Request) – The pyramid request.

Return type:

dict

Returns:

The template parameters.

fietsboek.views.profile.user_calendar_ym(request)

Shows the user’s calendar.

Parameters:

request (Request) – The pyramid request.

Return type:

dict

Returns:

The template parameters.

fietsboek.views.profile.user_tile(request)

Returns a single tile from the user’s own overlay maps.

Parameters:

request (Request) – The pyramid request.

Return type:

Response

Returns:

The response, with the tile content (or an error).