seshat.apps.general.mixins ========================== .. py:module:: seshat.apps.general.mixins Classes ------- .. autoapisummary:: seshat.apps.general.mixins.PolityIdMixin Module Contents --------------- .. py:class:: PolityIdMixin Mixin to add the get_initial method to a view that sets the initial value of the polity field. .. py:method:: get_initial() Get the initial value of the polity field from the query string. :returns: The initial value of the polity field. :rtype: dict