seshat.apps.general.mixins

Classes

PolityIdMixin

Mixin to add the get_initial method to a view that sets the initial value of the polity field.

Module Contents

class seshat.apps.general.mixins.PolityIdMixin

Mixin to add the get_initial method to a view that sets the initial value of the polity field.

get_initial()

Get the initial value of the polity field from the query string.

Returns:

The initial value of the polity field.

Return type:

dict