wuttaweb.views.people

Views for people

class wuttaweb.views.people.PersonView(request, context=None)[source]

Master view for people.

Default route prefix is people.

Notable URLs provided by this class:

  • /people/

  • /people/new

  • /people/XXX

  • /people/XXX/edit

  • /people/XXX/delete

make_users_grid(person)[source]

Make and return the grid for the Users field.

This grid is shown for the Users field when viewing a Person.

Returns:

Fully configured Grid instance.

merge_execute(removing, keeping)[source]

We override default merge logic to re-assign users if needed.

See also parent method: merge_execute()

model_class

alias of Person