fietsboek.views.edit module

Views for editing a track.

class fietsboek.views.edit.ImageEmbed(name, url, description)

Bases: tuple

description

Alias for field number 2

name

Alias for field number 0

url

Alias for field number 1

fietsboek.views.edit.do_edit(request)

Endpoint for saving the edited data.

Parameters:

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

Returns:

The HTTP response.

Return type:

pyramid.response.Response

fietsboek.views.edit.edit(request)

Renders the edit form.

Parameters:

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

Returns:

The HTTP response.

Return type:

pyramid.response.Response