seshat.apps.general.views ========================= .. py:module:: seshat.apps.general.views Classes ------- .. autoapisummary:: seshat.apps.general.views.Polity_alternate_religionCreate seshat.apps.general.views.Polity_alternate_religionDelete seshat.apps.general.views.Polity_alternate_religionDetailView seshat.apps.general.views.Polity_alternate_religionListView seshat.apps.general.views.Polity_alternate_religionListViewAll seshat.apps.general.views.Polity_alternate_religionUpdate seshat.apps.general.views.Polity_alternate_religion_familyCreate seshat.apps.general.views.Polity_alternate_religion_familyDelete seshat.apps.general.views.Polity_alternate_religion_familyDetailView seshat.apps.general.views.Polity_alternate_religion_familyListView seshat.apps.general.views.Polity_alternate_religion_familyListViewAll seshat.apps.general.views.Polity_alternate_religion_familyUpdate seshat.apps.general.views.Polity_alternate_religion_genusCreate seshat.apps.general.views.Polity_alternate_religion_genusDelete seshat.apps.general.views.Polity_alternate_religion_genusDetailView seshat.apps.general.views.Polity_alternate_religion_genusListView seshat.apps.general.views.Polity_alternate_religion_genusListViewAll seshat.apps.general.views.Polity_alternate_religion_genusUpdate seshat.apps.general.views.Polity_alternative_nameCreate seshat.apps.general.views.Polity_alternative_nameDelete seshat.apps.general.views.Polity_alternative_nameDetailView seshat.apps.general.views.Polity_alternative_nameListView seshat.apps.general.views.Polity_alternative_nameListViewAll seshat.apps.general.views.Polity_alternative_nameUpdate seshat.apps.general.views.Polity_capitalCreate seshat.apps.general.views.Polity_capitalDelete seshat.apps.general.views.Polity_capitalDetailView seshat.apps.general.views.Polity_capitalListView seshat.apps.general.views.Polity_capitalListViewAll seshat.apps.general.views.Polity_capitalUpdate seshat.apps.general.views.Polity_degree_of_centralizationCreate seshat.apps.general.views.Polity_degree_of_centralizationDelete seshat.apps.general.views.Polity_degree_of_centralizationDetailView seshat.apps.general.views.Polity_degree_of_centralizationListView seshat.apps.general.views.Polity_degree_of_centralizationListViewAll seshat.apps.general.views.Polity_degree_of_centralizationUpdate seshat.apps.general.views.Polity_durationCreate seshat.apps.general.views.Polity_durationDelete seshat.apps.general.views.Polity_durationDetailView seshat.apps.general.views.Polity_durationListView seshat.apps.general.views.Polity_durationListViewAll seshat.apps.general.views.Polity_durationUpdate seshat.apps.general.views.Polity_editorCreate seshat.apps.general.views.Polity_editorDelete seshat.apps.general.views.Polity_editorDetailView seshat.apps.general.views.Polity_editorListView seshat.apps.general.views.Polity_editorListViewAll seshat.apps.general.views.Polity_editorUpdate seshat.apps.general.views.Polity_expertCreate seshat.apps.general.views.Polity_expertDelete seshat.apps.general.views.Polity_expertDetailView seshat.apps.general.views.Polity_expertListView seshat.apps.general.views.Polity_expertListViewAll seshat.apps.general.views.Polity_expertUpdate seshat.apps.general.views.Polity_languageCreate seshat.apps.general.views.Polity_languageDelete seshat.apps.general.views.Polity_languageDetailView seshat.apps.general.views.Polity_languageListView seshat.apps.general.views.Polity_languageListViewAll seshat.apps.general.views.Polity_languageUpdate seshat.apps.general.views.Polity_language_genusCreate seshat.apps.general.views.Polity_language_genusDelete seshat.apps.general.views.Polity_language_genusDetailView seshat.apps.general.views.Polity_language_genusListView seshat.apps.general.views.Polity_language_genusListViewAll seshat.apps.general.views.Polity_language_genusUpdate seshat.apps.general.views.Polity_linguistic_familyCreate seshat.apps.general.views.Polity_linguistic_familyDelete seshat.apps.general.views.Polity_linguistic_familyDetailView seshat.apps.general.views.Polity_linguistic_familyListView seshat.apps.general.views.Polity_linguistic_familyListViewAll seshat.apps.general.views.Polity_linguistic_familyUpdate seshat.apps.general.views.Polity_original_nameCreate seshat.apps.general.views.Polity_original_nameDelete seshat.apps.general.views.Polity_original_nameDetailView seshat.apps.general.views.Polity_original_nameListView seshat.apps.general.views.Polity_original_nameListViewAll seshat.apps.general.views.Polity_original_nameUpdate seshat.apps.general.views.Polity_peak_yearsCreate seshat.apps.general.views.Polity_peak_yearsDelete seshat.apps.general.views.Polity_peak_yearsDetailView seshat.apps.general.views.Polity_peak_yearsListView seshat.apps.general.views.Polity_peak_yearsListViewAll seshat.apps.general.views.Polity_peak_yearsUpdate seshat.apps.general.views.Polity_preceding_entityCreate seshat.apps.general.views.Polity_preceding_entityDelete seshat.apps.general.views.Polity_preceding_entityDetailView seshat.apps.general.views.Polity_preceding_entityListView seshat.apps.general.views.Polity_preceding_entityListViewAll seshat.apps.general.views.Polity_preceding_entityUpdate seshat.apps.general.views.Polity_relationship_to_preceding_entityCreate seshat.apps.general.views.Polity_relationship_to_preceding_entityDelete seshat.apps.general.views.Polity_relationship_to_preceding_entityDetailView seshat.apps.general.views.Polity_relationship_to_preceding_entityListView seshat.apps.general.views.Polity_relationship_to_preceding_entityListViewAll seshat.apps.general.views.Polity_relationship_to_preceding_entityUpdate seshat.apps.general.views.Polity_religionCreate seshat.apps.general.views.Polity_religionDelete seshat.apps.general.views.Polity_religionDetailView seshat.apps.general.views.Polity_religionListView seshat.apps.general.views.Polity_religionListViewAll seshat.apps.general.views.Polity_religionUpdate seshat.apps.general.views.Polity_religion_familyCreate seshat.apps.general.views.Polity_religion_familyDelete seshat.apps.general.views.Polity_religion_familyDetailView seshat.apps.general.views.Polity_religion_familyListView seshat.apps.general.views.Polity_religion_familyListViewAll seshat.apps.general.views.Polity_religion_familyUpdate seshat.apps.general.views.Polity_religion_genusCreate seshat.apps.general.views.Polity_religion_genusDelete seshat.apps.general.views.Polity_religion_genusDetailView seshat.apps.general.views.Polity_religion_genusListView seshat.apps.general.views.Polity_religion_genusListViewAll seshat.apps.general.views.Polity_religion_genusUpdate seshat.apps.general.views.Polity_religious_traditionCreate seshat.apps.general.views.Polity_religious_traditionDelete seshat.apps.general.views.Polity_religious_traditionDetailView seshat.apps.general.views.Polity_religious_traditionListView seshat.apps.general.views.Polity_religious_traditionListViewAll seshat.apps.general.views.Polity_religious_traditionUpdate seshat.apps.general.views.Polity_research_assistantCreate seshat.apps.general.views.Polity_research_assistantDelete seshat.apps.general.views.Polity_research_assistantDetailView seshat.apps.general.views.Polity_research_assistantListView seshat.apps.general.views.Polity_research_assistantListViewAll seshat.apps.general.views.Polity_research_assistantUpdate seshat.apps.general.views.Polity_scale_of_supracultural_interactionCreate seshat.apps.general.views.Polity_scale_of_supracultural_interactionDelete seshat.apps.general.views.Polity_scale_of_supracultural_interactionDetailView seshat.apps.general.views.Polity_scale_of_supracultural_interactionListView seshat.apps.general.views.Polity_scale_of_supracultural_interactionListViewAll seshat.apps.general.views.Polity_scale_of_supracultural_interactionUpdate seshat.apps.general.views.Polity_succeeding_entityCreate seshat.apps.general.views.Polity_succeeding_entityDelete seshat.apps.general.views.Polity_succeeding_entityDetailView seshat.apps.general.views.Polity_succeeding_entityListView seshat.apps.general.views.Polity_succeeding_entityListViewAll seshat.apps.general.views.Polity_succeeding_entityUpdate seshat.apps.general.views.Polity_supracultural_entityCreate seshat.apps.general.views.Polity_supracultural_entityDelete seshat.apps.general.views.Polity_supracultural_entityDetailView seshat.apps.general.views.Polity_supracultural_entityListView seshat.apps.general.views.Polity_supracultural_entityListViewAll seshat.apps.general.views.Polity_supracultural_entityUpdate seshat.apps.general.views.Polity_suprapolity_relationsCreate seshat.apps.general.views.Polity_suprapolity_relationsDelete seshat.apps.general.views.Polity_suprapolity_relationsDetailView seshat.apps.general.views.Polity_suprapolity_relationsListView seshat.apps.general.views.Polity_suprapolity_relationsListViewAll seshat.apps.general.views.Polity_suprapolity_relationsUpdate seshat.apps.general.views.Polity_utm_zoneCreate seshat.apps.general.views.Polity_utm_zoneDelete seshat.apps.general.views.Polity_utm_zoneDetailView seshat.apps.general.views.Polity_utm_zoneListView seshat.apps.general.views.Polity_utm_zoneListViewAll seshat.apps.general.views.Polity_utm_zoneUpdate Functions --------- .. autoapisummary:: seshat.apps.general.views.confirm_delete_view seshat.apps.general.views.delete_object_view seshat.apps.general.views.download_csv_all_general seshat.apps.general.views.dynamic_create_view seshat.apps.general.views.dynamic_detail_view seshat.apps.general.views.dynamic_update_view seshat.apps.general.views.dynamic_update_view_old seshat.apps.general.views.generalvars seshat.apps.general.views.generalvarsold seshat.apps.general.views.generic_download seshat.apps.general.views.generic_list_view seshat.apps.general.views.generic_metadata_download seshat.apps.general.views.has_add_capital_permission seshat.apps.general.views.polity_alternate_religion_download seshat.apps.general.views.polity_alternate_religion_family_download seshat.apps.general.views.polity_alternate_religion_family_meta_download seshat.apps.general.views.polity_alternate_religion_genus_download seshat.apps.general.views.polity_alternate_religion_genus_meta_download seshat.apps.general.views.polity_alternate_religion_meta_download seshat.apps.general.views.polity_alternative_name_download seshat.apps.general.views.polity_alternative_name_meta_download seshat.apps.general.views.polity_capital_download seshat.apps.general.views.polity_capital_meta_download seshat.apps.general.views.polity_degree_of_centralization_download seshat.apps.general.views.polity_degree_of_centralization_meta_download seshat.apps.general.views.polity_duration_download seshat.apps.general.views.polity_duration_meta_download seshat.apps.general.views.polity_editor_download seshat.apps.general.views.polity_editor_meta_download seshat.apps.general.views.polity_expert_download seshat.apps.general.views.polity_expert_meta_download seshat.apps.general.views.polity_language_download seshat.apps.general.views.polity_language_genus_download seshat.apps.general.views.polity_language_genus_meta_download seshat.apps.general.views.polity_language_meta_download seshat.apps.general.views.polity_linguistic_family_download seshat.apps.general.views.polity_linguistic_family_meta_download seshat.apps.general.views.polity_original_name_download seshat.apps.general.views.polity_original_name_meta_download seshat.apps.general.views.polity_peak_years_download seshat.apps.general.views.polity_peak_years_meta_download seshat.apps.general.views.polity_preceding_entity_download seshat.apps.general.views.polity_preceding_entity_meta_download seshat.apps.general.views.polity_relationship_to_preceding_entity_download seshat.apps.general.views.polity_relationship_to_preceding_entity_meta_download seshat.apps.general.views.polity_religion_download seshat.apps.general.views.polity_religion_family_download seshat.apps.general.views.polity_religion_family_meta_download seshat.apps.general.views.polity_religion_genus_download seshat.apps.general.views.polity_religion_genus_meta_download seshat.apps.general.views.polity_religion_meta_download seshat.apps.general.views.polity_religious_tradition_download seshat.apps.general.views.polity_religious_tradition_meta_download seshat.apps.general.views.polity_research_assistant_download seshat.apps.general.views.polity_research_assistant_meta_download seshat.apps.general.views.polity_scale_of_supracultural_interaction_download seshat.apps.general.views.polity_scale_of_supracultural_interaction_meta_download seshat.apps.general.views.polity_succeeding_entity_download seshat.apps.general.views.polity_succeeding_entity_meta_download seshat.apps.general.views.polity_supracultural_entity_download seshat.apps.general.views.polity_supracultural_entity_meta_download seshat.apps.general.views.polity_suprapolity_relations_download seshat.apps.general.views.polity_suprapolity_relations_meta_download seshat.apps.general.views.polity_utm_zone_download seshat.apps.general.views.polity_utm_zone_meta_download seshat.apps.general.views.send_test_email Module Contents --------------- .. py:class:: Polity_alternate_religionCreate Bases: :py:obj:`django.contrib.auth.mixins.PermissionRequiredMixin`, :py:obj:`seshat.apps.general.mixins.PolityIdMixin`, :py:obj:`django.views.generic.edit.CreateView` View for creating a new Polity_alternate_religion. .. note:: This view is restricted to users with the 'add_capital' permission. .. py:method:: get_absolute_url() Get the absolute URL of the view. :returns: The absolute URL of the view. :rtype: str .. py:method:: get_context_data(**kwargs) Get the context data of the view. :noindex: :param \*\*kwargs: Arbitrary keyword arguments. :returns: The context data of the view. :rtype: dict .. py:method:: get_form(form_class=None) Get the form of the view. Sort the choices of the 'alternate_religion' field. :param form_class: The form class. Defaults to None. :returns: The form of the view. :rtype: Form .. py:attribute:: form_class .. py:attribute:: model .. py:attribute:: permission_required :value: 'core.add_capital' .. py:attribute:: template_name :value: 'general/polity_alternate_religion/polity_alternate_religion_form.html' .. py:class:: Polity_alternate_religionDelete Bases: :py:obj:`django.contrib.auth.mixins.PermissionRequiredMixin`, :py:obj:`django.views.generic.edit.DeleteView` View for deleting an existing Polity_alternate_religion. .. note:: This view is restricted to users with the 'add_capital' permission. .. py:attribute:: model .. py:attribute:: permission_required :value: 'core.add_capital' .. py:attribute:: success_url .. py:attribute:: template_name :value: 'core/delete_general.html' .. py:class:: Polity_alternate_religionDetailView Bases: :py:obj:`django.views.generic.DetailView` View for displaying a single Polity_alternate_religion instance. .. py:attribute:: model .. py:attribute:: template_name :value: 'general/polity_alternate_religion/polity_alternate_religion_detail.html' .. py:class:: Polity_alternate_religionListView Bases: :py:obj:`django.views.generic.ListView` Paginated view for listing all Polity_alternate_religion instances. .. py:method:: get_absolute_url() Get the absolute URL of the view. :returns: The absolute URL of the view. :rtype: str .. py:method:: get_context_data(**kwargs) Get the context data of the view. :noindex: :param \*\*kwargs: Arbitrary keyword arguments. :returns: The context data of the view. :rtype: dict .. py:attribute:: model .. py:attribute:: paginate_by :value: 10 .. py:attribute:: template_name :value: 'general/polity_alternate_religion/polity_alternate_religion_list.html' .. py:class:: Polity_alternate_religionListViewAll Bases: :py:obj:`django.views.generic.ListView` View for listing all Polity_alternate_religion instances. .. py:method:: get_absolute_url() Get the absolute URL of the view. :returns: The absolute URL of the view. :rtype: str .. py:method:: get_context_data(**kwargs) Get the context data of the view. :noindex: :param \*\*kwargs: Arbitrary keyword arguments. :returns: The context data of the view. :rtype: dict .. py:method:: get_queryset() Get the queryset of Polity_alternate_religion instances. :returns: The queryset of Polity_alternate_religion instances. :rtype: QuerySet .. py:attribute:: model .. py:attribute:: template_name :value: 'general/polity_alternate_religion/polity_alternate_religion_list_all.html' .. py:class:: Polity_alternate_religionUpdate Bases: :py:obj:`django.contrib.auth.mixins.PermissionRequiredMixin`, :py:obj:`django.views.generic.edit.UpdateView` View for updating an existing Polity_alternate_religion. .. note:: This view is restricted to users with the 'add_capital' permission. .. py:method:: get_context_data(**kwargs) Get the context data of the view. :noindex: :param \*\*kwargs: Arbitrary keyword arguments. :returns: The context data of the view. :rtype: dict .. py:method:: get_form(form_class=None) Get the form of the view. Sort the choices of the 'alternate_religion' field. :param form_class: The form class. Defaults to None. :returns: The form of the view. :rtype: Form .. py:attribute:: form_class .. py:attribute:: model .. py:attribute:: permission_required :value: 'core.add_capital' .. py:attribute:: template_name :value: 'general/polity_alternate_religion/polity_alternate_religion_update.html' .. py:class:: Polity_alternate_religion_familyCreate Bases: :py:obj:`django.contrib.auth.mixins.PermissionRequiredMixin`, :py:obj:`seshat.apps.general.mixins.PolityIdMixin`, :py:obj:`django.views.generic.edit.CreateView` View for creating a new Polity_alternate_religion_family. .. note:: This view is restricted to users with the 'add_capital' permission. .. py:method:: get_absolute_url() Get the absolute URL of the view. :returns: The absolute URL of the view. :rtype: str .. py:method:: get_context_data(**kwargs) Get the context data of the view. :noindex: :param \*\*kwargs: Arbitrary keyword arguments. :returns: The context data of the view. :rtype: dict .. py:method:: get_form(form_class=None) Get the form of the view. Sort the choices of the 'alternate_religion_family' field. :param form_class: The form class. Defaults to None. :returns: The form of the view. :rtype: Form .. py:attribute:: form_class .. py:attribute:: model .. py:attribute:: permission_required :value: 'core.add_capital' .. py:attribute:: template_name :value: 'general/polity_alternate_religion_family/polity_alternate_religion_family_form.html' .. py:class:: Polity_alternate_religion_familyDelete Bases: :py:obj:`django.contrib.auth.mixins.PermissionRequiredMixin`, :py:obj:`django.views.generic.edit.DeleteView` View for deleting an existing Polity_alternate_religion_family. .. note:: This view is restricted to users with the 'add_capital' permission. .. py:attribute:: model .. py:attribute:: permission_required :value: 'core.add_capital' .. py:attribute:: success_url .. py:attribute:: template_name :value: 'core/delete_general.html' .. py:class:: Polity_alternate_religion_familyDetailView Bases: :py:obj:`django.views.generic.DetailView` View for displaying a single Polity_alternate_religion_family instance. .. py:attribute:: model .. py:attribute:: template_name :value: 'general/polity_alternate_religion_family/polity_alternate_religion_family_detail.html' .. py:class:: Polity_alternate_religion_familyListView Bases: :py:obj:`django.views.generic.ListView` Paginated view for listing all Polity_alternate_religion_family instances. .. py:method:: get_absolute_url() Get the absolute URL of the view. :returns: The absolute URL of the view. :rtype: str .. py:method:: get_context_data(**kwargs) Get the context data of the view. :noindex: :param \*\*kwargs: Arbitrary keyword arguments. :returns: The context data of the view. :rtype: dict .. py:attribute:: model .. py:attribute:: paginate_by :value: 10 .. py:attribute:: template_name :value: 'general/polity_alternate_religion_family/polity_alternate_religion_family_list.html' .. py:class:: Polity_alternate_religion_familyListViewAll Bases: :py:obj:`django.views.generic.ListView` View for listing all Polity_alternate_religion_family instances. .. py:method:: get_absolute_url() Get the absolute URL of the view. :returns: The absolute URL of the view. :rtype: str .. py:method:: get_context_data(**kwargs) Get the context data of the view. :noindex: :param \*\*kwargs: Arbitrary keyword arguments. :returns: The context data of the view. :rtype: dict .. py:method:: get_queryset() Get the queryset of Polity_alternate_religion_family instances. :returns: The queryset of Polity_alternate_religion_family instances. :rtype: QuerySet .. py:attribute:: model .. py:attribute:: template_name :value: 'general/polity_alternate_religion_family/polity_alternate_religion_family_list_all.html' .. py:class:: Polity_alternate_religion_familyUpdate Bases: :py:obj:`django.contrib.auth.mixins.PermissionRequiredMixin`, :py:obj:`django.views.generic.edit.UpdateView` View for updating an existing Polity_alternate_religion_family. .. note:: This view is restricted to users with the 'add_capital' permission. .. py:method:: get_context_data(**kwargs) Get the context data of the view. :noindex: :param \*\*kwargs: Arbitrary keyword arguments. :returns: The context data of the view. :rtype: dict .. py:method:: get_form(form_class=None) Get the form of the view. Sort the choices of the 'alternate_religion_family' field. :param form_class: The form class. Defaults to None. :returns: The form of the view. :rtype: Form .. py:attribute:: form_class .. py:attribute:: model .. py:attribute:: permission_required :value: 'core.add_capital' .. py:attribute:: template_name :value: 'general/polity_alternate_religion_family/polity_alternate_religion_family_update.html' .. py:class:: Polity_alternate_religion_genusCreate Bases: :py:obj:`django.contrib.auth.mixins.PermissionRequiredMixin`, :py:obj:`seshat.apps.general.mixins.PolityIdMixin`, :py:obj:`django.views.generic.edit.CreateView` View for creating a new Polity_alternate_religion_genus. .. note:: This view is restricted to users with the 'add_capital' permission. .. py:method:: get_absolute_url() Get the absolute URL of the view. :returns: The absolute URL of the view. :rtype: str .. py:method:: get_context_data(**kwargs) Get the context data of the view. :noindex: :param \*\*kwargs: Arbitrary keyword arguments. :returns: The context data of the view. :rtype: dict .. py:method:: get_form(form_class=None) Get the form of the view. Sort the choices of the 'alternate_religion_genus' field. :param form_class: The form class. Defaults to None. :returns: The form of the view. :rtype: Form .. py:attribute:: form_class .. py:attribute:: model .. py:attribute:: permission_required :value: 'core.add_capital' .. py:attribute:: template_name :value: 'general/polity_alternate_religion_genus/polity_alternate_religion_genus_form.html' .. py:class:: Polity_alternate_religion_genusDelete Bases: :py:obj:`django.contrib.auth.mixins.PermissionRequiredMixin`, :py:obj:`django.views.generic.edit.DeleteView` View for deleting an existing Polity_alternate_religion_genus. .. note:: This view is restricted to users with the 'add_capital' permission. .. py:attribute:: model .. py:attribute:: permission_required :value: 'core.add_capital' .. py:attribute:: success_url .. py:attribute:: template_name :value: 'core/delete_general.html' .. py:class:: Polity_alternate_religion_genusDetailView Bases: :py:obj:`django.views.generic.DetailView` View for displaying a single Polity_alternate_religion_genus instance. .. py:attribute:: model .. py:attribute:: template_name :value: 'general/polity_alternate_religion_genus/polity_alternate_religion_genus_detail.html' .. py:class:: Polity_alternate_religion_genusListView Bases: :py:obj:`django.views.generic.ListView` Paginated view for listing all Polity_alternate_religion_genus instances. .. py:method:: get_absolute_url() Get the absolute URL of the view. :returns: The absolute URL of the view. :rtype: str .. py:method:: get_context_data(**kwargs) Get the context data of the view. :noindex: :param \*\*kwargs: Arbitrary keyword arguments. :returns: The context data of the view. :rtype: dict .. py:attribute:: model .. py:attribute:: paginate_by :value: 10 .. py:attribute:: template_name :value: 'general/polity_alternate_religion_genus/polity_alternate_religion_genus_list.html' .. py:class:: Polity_alternate_religion_genusListViewAll Bases: :py:obj:`django.views.generic.ListView` View for listing all Polity_alternate_religion_genus instances. .. py:method:: get_absolute_url() Get the absolute URL of the view. :returns: The absolute URL of the view. :rtype: str .. py:method:: get_context_data(**kwargs) Get the context data of the view. :noindex: :param \*\*kwargs: Arbitrary keyword arguments. :returns: The context data of the view. :rtype: dict .. py:method:: get_queryset() Get the queryset of Polity_alternate_religion_genus instances. :returns: The queryset of Polity_alternate_religion_genus instances. :rtype: QuerySet .. py:attribute:: model .. py:attribute:: template_name :value: 'general/polity_alternate_religion_genus/polity_alternate_religion_genus_list_all.html' .. py:class:: Polity_alternate_religion_genusUpdate Bases: :py:obj:`django.contrib.auth.mixins.PermissionRequiredMixin`, :py:obj:`django.views.generic.edit.UpdateView` View for updating an existing Polity_alternate_religion_genus. .. note:: This view is restricted to users with the 'add_capital' permission. .. py:method:: get_context_data(**kwargs) Get the context data of the view. :noindex: :param \*\*kwargs: Arbitrary keyword arguments. :returns: The context data of the view. :rtype: dict .. py:method:: get_form(form_class=None) Get the form of the view. Sort the choices of the 'alternate_religion_genus' field. :param form_class: The form class. Defaults to None. :returns: The form of the view. :rtype: Form .. py:attribute:: form_class .. py:attribute:: model .. py:attribute:: permission_required :value: 'core.add_capital' .. py:attribute:: template_name :value: 'general/polity_alternate_religion_genus/polity_alternate_religion_genus_update.html' .. py:class:: Polity_alternative_nameCreate Bases: :py:obj:`django.contrib.auth.mixins.PermissionRequiredMixin`, :py:obj:`seshat.apps.general.mixins.PolityIdMixin`, :py:obj:`django.views.generic.edit.CreateView` View for creating a new Polity_alternative_name. .. note:: This view is restricted to users with the 'add_capital' permission. .. py:method:: get_absolute_url() Get the absolute URL of the view. :returns: The absolute URL of the view. :rtype: str .. py:method:: get_context_data(**kwargs) Get the context data of the view. :noindex: :param \*\*kwargs: Arbitrary keyword arguments. :returns: The context data of the view. :rtype: dict .. py:attribute:: form_class .. py:attribute:: model .. py:attribute:: permission_required :value: 'core.add_capital' .. py:attribute:: template_name :value: 'general/polity_alternative_name/polity_alternative_name_form.html' .. py:class:: Polity_alternative_nameDelete Bases: :py:obj:`django.contrib.auth.mixins.PermissionRequiredMixin`, :py:obj:`django.views.generic.edit.DeleteView` View for deleting an existing Polity_alternative_name. .. note:: This view is restricted to users with the 'add_capital' permission. .. py:attribute:: model .. py:attribute:: permission_required :value: 'core.add_capital' .. py:attribute:: success_url .. py:attribute:: template_name :value: 'core/delete_general.html' .. py:class:: Polity_alternative_nameDetailView Bases: :py:obj:`django.views.generic.DetailView` View for displaying a single Polity_alternative_name instance. .. py:attribute:: model .. py:attribute:: template_name :value: 'general/polity_alternative_name/polity_alternative_name_detail.html' .. py:class:: Polity_alternative_nameListView Bases: :py:obj:`django.views.generic.ListView` Paginated view for listing all Polity_alternative_name instances. .. py:method:: get_absolute_url() Get the absolute URL of the view. :returns: The absolute URL of the view. :rtype: str .. py:method:: get_context_data(**kwargs) Get the context data of the view. :noindex: :param \*\*kwargs: Arbitrary keyword arguments. :returns: The context data of the view. :rtype: dict .. py:attribute:: model .. py:attribute:: paginate_by :value: 10 .. py:attribute:: template_name :value: 'general/polity_alternative_name/polity_alternative_name_list.html' .. py:class:: Polity_alternative_nameListViewAll Bases: :py:obj:`django.views.generic.ListView` View for listing all Polity_alternative_name instances. .. py:method:: get_absolute_url() Get the absolute URL of the view. :returns: The absolute URL of the view. :rtype: str .. py:method:: get_context_data(**kwargs) Get the context data of the view. :noindex: :param \*\*kwargs: Arbitrary keyword arguments. :returns: The context data of the view. :rtype: dict .. py:method:: get_queryset() Get the queryset of Polity_alternative_name instances. :returns: The queryset of Polity_alternative_name instances. :rtype: QuerySet .. py:attribute:: model .. py:attribute:: template_name :value: 'general/polity_alternative_name/polity_alternative_name_list_all.html' .. py:class:: Polity_alternative_nameUpdate Bases: :py:obj:`django.contrib.auth.mixins.PermissionRequiredMixin`, :py:obj:`django.views.generic.edit.UpdateView` View for updating an existing Polity_alternative_name. .. note:: This view is restricted to users with the 'add_capital' permission. .. py:method:: get_context_data(**kwargs) Get the context data of the view. :noindex: :param \*\*kwargs: Arbitrary keyword arguments. :returns: The context data of the view. :rtype: dict .. py:attribute:: form_class .. py:attribute:: model .. py:attribute:: permission_required :value: 'core.add_capital' .. py:attribute:: template_name :value: 'general/polity_alternative_name/polity_alternative_name_update.html' .. py:class:: Polity_capitalCreate Bases: :py:obj:`django.contrib.auth.mixins.PermissionRequiredMixin`, :py:obj:`seshat.apps.general.mixins.PolityIdMixin`, :py:obj:`django.views.generic.edit.CreateView` View for creating a new Polity_capital. .. note:: This view is restricted to users with the 'add_capital' permission. .. py:method:: get_absolute_url() Get the absolute URL of the view. :returns: The absolute URL of the view. :rtype: str .. py:method:: get_context_data(**kwargs) Get the context data of the view. :noindex: :param \*\*kwargs: Arbitrary keyword arguments. :returns: The context data of the view. :rtype: dict .. py:attribute:: form_class .. py:attribute:: model .. py:attribute:: permission_required :value: 'core.add_capital' .. py:attribute:: template_name :value: 'general/polity_capital/polity_capital_form.html' .. py:class:: Polity_capitalDelete Bases: :py:obj:`django.contrib.auth.mixins.PermissionRequiredMixin`, :py:obj:`django.views.generic.edit.DeleteView` View for deleting an existing Polity_capital. .. note:: This view is restricted to users with the 'add_capital' permission. .. py:attribute:: model .. py:attribute:: permission_required :value: 'core.add_capital' .. py:attribute:: success_url .. py:attribute:: template_name :value: 'core/delete_general.html' .. py:class:: Polity_capitalDetailView Bases: :py:obj:`django.views.generic.DetailView` View for displaying a single Polity_capital instance. .. py:attribute:: model .. py:attribute:: template_name :value: 'general/polity_capital/polity_capital_detail.html' .. py:class:: Polity_capitalListView Bases: :py:obj:`django.views.generic.ListView` Paginated view for listing all Polity_capital instances. .. py:method:: get_absolute_url() Get the absolute URL of the view. :returns: The absolute URL of the view. :rtype: str .. py:method:: get_context_data(**kwargs) Get the context data of the view. :noindex: :param \*\*kwargs: Arbitrary keyword arguments. :returns: The context data of the view. :rtype: dict .. py:attribute:: model .. py:attribute:: paginate_by :value: 10 .. py:attribute:: template_name :value: 'general/polity_capital/polity_capital_list.html' .. py:class:: Polity_capitalListViewAll Bases: :py:obj:`django.views.generic.ListView` View for listing all Polity_capital instances. .. py:method:: get_absolute_url() Get the absolute URL of the view. :returns: The absolute URL of the view. :rtype: str .. py:method:: get_context_data(**kwargs) Get the context data of the view. :noindex: :param \*\*kwargs: Arbitrary keyword arguments. :returns: The context data of the view. :rtype: dict .. py:method:: get_queryset() Get the queryset of Polity_capital instances. :returns: The queryset of Polity_capital instances. :rtype: QuerySet .. py:attribute:: model .. py:attribute:: template_name :value: 'general/polity_capital/polity_capital_list_all.html' .. py:class:: Polity_capitalUpdate Bases: :py:obj:`django.contrib.auth.mixins.PermissionRequiredMixin`, :py:obj:`django.views.generic.edit.UpdateView` View for updating an existing Polity_capital. .. note:: This view is restricted to users with the 'add_capital' permission. .. py:method:: get_context_data(**kwargs) Get the context data of the view. :noindex: :param \*\*kwargs: Arbitrary keyword arguments. :returns: The context data of the view. :rtype: dict .. py:attribute:: form_class .. py:attribute:: model .. py:attribute:: permission_required :value: 'core.add_capital' .. py:attribute:: template_name :value: 'general/polity_capital/polity_capital_update.html' .. py:class:: Polity_degree_of_centralizationCreate Bases: :py:obj:`django.contrib.auth.mixins.PermissionRequiredMixin`, :py:obj:`seshat.apps.general.mixins.PolityIdMixin`, :py:obj:`django.views.generic.edit.CreateView` View for creating a new Polity_degree_of_centralization. .. note:: This view is restricted to users with the 'add_capital' permission. .. py:method:: get_absolute_url() Get the absolute URL of the view. :returns: The absolute URL of the view. :rtype: str .. py:method:: get_context_data(**kwargs) Get the context data of the view. :noindex: :param \*\*kwargs: Arbitrary keyword arguments. :returns: The context data of the view. :rtype: dict .. py:method:: get_form(form_class=None) Get the form of the view. Sort the choices of the degree_of_centralization field. :param form_class: The form class. Defaults to None. :returns: The form of the view. :rtype: Form .. py:attribute:: form_class .. py:attribute:: model .. py:attribute:: permission_required :value: 'core.add_capital' .. py:attribute:: template_name :value: 'general/polity_degree_of_centralization/polity_degree_of_centralization_form.html' .. py:class:: Polity_degree_of_centralizationDelete Bases: :py:obj:`django.contrib.auth.mixins.PermissionRequiredMixin`, :py:obj:`django.views.generic.edit.DeleteView` View for deleting an existing Polity_degree_of_centralization. .. note:: This view is restricted to users with the 'add_capital' permission. .. py:attribute:: model .. py:attribute:: permission_required :value: 'core.add_capital' .. py:attribute:: success_url .. py:attribute:: template_name :value: 'core/delete_general.html' .. py:class:: Polity_degree_of_centralizationDetailView Bases: :py:obj:`django.views.generic.DetailView` View for displaying a single Polity_degree_of_centralization instance. .. py:attribute:: model .. py:attribute:: template_name :value: 'general/polity_degree_of_centralization/polity_degree_of_centralization_detail.html' .. py:class:: Polity_degree_of_centralizationListView Bases: :py:obj:`django.views.generic.ListView` Paginated view for listing all Polity_degree_of_centralization instances. .. py:method:: get_absolute_url() Get the absolute URL of the view. :returns: The absolute URL of the view. :rtype: str .. py:method:: get_context_data(**kwargs) Get the context data of the view. :noindex: :param \*\*kwargs: Arbitrary keyword arguments. :returns: The context data of the view. :rtype: dict .. py:attribute:: model .. py:attribute:: paginate_by :value: 10 .. py:attribute:: template_name :value: 'general/polity_degree_of_centralization/polity_degree_of_centralization_list.html' .. py:class:: Polity_degree_of_centralizationListViewAll Bases: :py:obj:`django.views.generic.ListView` View for listing all Polity_degree_of_centralization instances. .. py:method:: get_absolute_url() Get the absolute URL of the view. :returns: The absolute URL of the view. :rtype: str .. py:method:: get_context_data(**kwargs) Get the context data of the view. :noindex: :param \*\*kwargs: Arbitrary keyword arguments. :returns: The context data of the view. :rtype: dict .. py:method:: get_queryset() Get the queryset of Polity_degree_of_centralization instances. :returns: The queryset of Polity_degree_of_centralization instances. :rtype: QuerySet .. py:attribute:: model .. py:attribute:: template_name :value: 'general/polity_degree_of_centralization/polity_degree_of_centralization_list_all.html' .. py:class:: Polity_degree_of_centralizationUpdate Bases: :py:obj:`django.contrib.auth.mixins.PermissionRequiredMixin`, :py:obj:`django.views.generic.edit.UpdateView` View for updating an existing Polity_degree_of_centralization. .. note:: This view is restricted to users with the 'add_capital' permission. .. py:method:: get_context_data(**kwargs) Get the context data of the view. :noindex: :param \*\*kwargs: Arbitrary keyword arguments. :returns: The context data of the view. :rtype: dict .. py:method:: get_form(form_class=None) Get the form of the view. Sort the choices of the degree_of_centralization field. :param form_class: The form class. Defaults to None. :returns: The form of the view. :rtype: Form .. py:attribute:: form_class .. py:attribute:: model .. py:attribute:: permission_required :value: 'core.add_capital' .. py:attribute:: template_name :value: 'general/polity_degree_of_centralization/polity_degree_of_centralization_update.html' .. py:class:: Polity_durationCreate Bases: :py:obj:`django.contrib.auth.mixins.PermissionRequiredMixin`, :py:obj:`seshat.apps.general.mixins.PolityIdMixin`, :py:obj:`django.views.generic.edit.CreateView` View for creating a new Polity_duration. .. note:: This view is restricted to users with the 'add_capital' permission. .. py:method:: get_absolute_url() Get the absolute URL of the view. :returns: The absolute URL of the view. :rtype: str .. py:method:: get_context_data(**kwargs) Get the context data of the view. :noindex: :param \*\*kwargs: Arbitrary keyword arguments. :returns: The context data of the view. :rtype: dict .. py:attribute:: form_class .. py:attribute:: model .. py:attribute:: permission_required :value: 'core.add_capital' .. py:attribute:: template_name :value: 'general/polity_duration/polity_duration_form.html' .. py:class:: Polity_durationDelete Bases: :py:obj:`django.contrib.auth.mixins.PermissionRequiredMixin`, :py:obj:`django.views.generic.edit.DeleteView` View for deleting an existing Polity_duration. .. note:: This view is restricted to users with the 'add_capital' permission. .. py:attribute:: model .. py:attribute:: permission_required :value: 'core.add_capital' .. py:attribute:: success_url .. py:attribute:: template_name :value: 'core/delete_general.html' .. py:class:: Polity_durationDetailView Bases: :py:obj:`django.views.generic.DetailView` View for displaying a single Polity_duration instance. .. py:attribute:: model .. py:attribute:: template_name :value: 'general/polity_duration/polity_duration_detail.html' .. py:class:: Polity_durationListView Bases: :py:obj:`django.views.generic.ListView` Paginated view for listing all Polity_duration instances. .. py:method:: get_absolute_url() Get the absolute URL of the view. :returns: The absolute URL of the view. :rtype: str .. py:method:: get_context_data(**kwargs) Get the context data of the view. :noindex: :param \*\*kwargs: Arbitrary keyword arguments. :returns: The context data of the view. :rtype: dict .. py:attribute:: model .. py:attribute:: paginate_by :value: 10 .. py:attribute:: template_name :value: 'general/polity_duration/polity_duration_list.html' .. py:class:: Polity_durationListViewAll Bases: :py:obj:`django.views.generic.ListView` View for listing all Polity_duration instances. .. py:method:: get_absolute_url() Get the absolute URL of the view. :returns: The absolute URL of the view. :rtype: str .. py:method:: get_context_data(**kwargs) Get the context data of the view. :noindex: :param \*\*kwargs: Arbitrary keyword arguments. :returns: The context data of the view. :rtype: dict .. py:method:: get_queryset() Get the queryset of Polity_duration instances. :returns: The queryset of Polity_duration instances. :rtype: QuerySet .. py:attribute:: model .. py:attribute:: template_name :value: 'general/polity_duration/polity_duration_list_all.html' .. py:class:: Polity_durationUpdate Bases: :py:obj:`django.contrib.auth.mixins.PermissionRequiredMixin`, :py:obj:`django.views.generic.edit.UpdateView` View for updating an existing Polity_duration. .. note:: This view is restricted to users with the 'add_capital' permission. .. py:method:: get_context_data(**kwargs) Get the context data of the view. :noindex: :param \*\*kwargs: Arbitrary keyword arguments. :returns: The context data of the view. :rtype: dict .. py:attribute:: form_class .. py:attribute:: model .. py:attribute:: permission_required :value: 'core.add_capital' .. py:attribute:: template_name :value: 'general/polity_duration/polity_duration_update.html' .. py:class:: Polity_editorCreate Bases: :py:obj:`django.contrib.auth.mixins.PermissionRequiredMixin`, :py:obj:`django.views.generic.edit.CreateView` View for creating a new Polity_editor. .. note:: This view is restricted to users with the 'add_capital' permission. .. py:method:: get_absolute_url() Get the absolute URL of the view. :returns: The absolute URL of the view. :rtype: str .. py:method:: get_context_data(**kwargs) Get the context data of the view. :noindex: :param \*\*kwargs: Arbitrary keyword arguments. :returns: The context data of the view. :rtype: dict .. py:attribute:: form_class .. py:attribute:: model .. py:attribute:: permission_required :value: 'core.add_capital' .. py:attribute:: template_name :value: 'general/polity_editor/polity_editor_form.html' .. py:class:: Polity_editorDelete Bases: :py:obj:`django.contrib.auth.mixins.PermissionRequiredMixin`, :py:obj:`django.views.generic.edit.DeleteView` View for deleting an existing Polity_editor. .. note:: This view is restricted to users with the 'add_capital' permission. .. py:attribute:: model .. py:attribute:: permission_required :value: 'core.add_capital' .. py:attribute:: success_url .. py:attribute:: template_name :value: 'core/delete_general.html' .. py:class:: Polity_editorDetailView Bases: :py:obj:`django.views.generic.DetailView` View for displaying a single Polity_editor instance. .. py:attribute:: model .. py:attribute:: template_name :value: 'general/polity_editor/polity_editor_detail.html' .. py:class:: Polity_editorListView Bases: :py:obj:`django.views.generic.ListView` Paginated view for listing all Polity_editor instances. .. py:method:: get_absolute_url() Get the absolute URL of the view. :returns: The absolute URL of the view. :rtype: str .. py:method:: get_context_data(**kwargs) Get the context data of the view. :noindex: :param \*\*kwargs: Arbitrary keyword arguments. :returns: The context data of the view. :rtype: dict .. py:attribute:: model .. py:attribute:: paginate_by :value: 10 .. py:attribute:: template_name :value: 'general/polity_editor/polity_editor_list.html' .. py:class:: Polity_editorListViewAll Bases: :py:obj:`django.views.generic.ListView` View for listing all Polity_editor instances. .. py:method:: get_absolute_url() Get the absolute URL of the view. :returns: The absolute URL of the view. :rtype: str .. py:method:: get_context_data(**kwargs) Get the context data of the view. :noindex: :param \*\*kwargs: Arbitrary keyword arguments. :returns: The context data of the view. :rtype: dict .. py:method:: get_queryset() Get the queryset of Polity_editor instances. :returns: The queryset of Polity_editor instances. :rtype: QuerySet .. py:attribute:: model .. py:attribute:: template_name :value: 'general/polity_editor/polity_editor_list_all.html' .. py:class:: Polity_editorUpdate Bases: :py:obj:`django.contrib.auth.mixins.PermissionRequiredMixin`, :py:obj:`django.views.generic.edit.UpdateView` View for updating an existing Polity_editor. .. note:: This view is restricted to users with the 'add_capital' permission. .. py:method:: get_context_data(**kwargs) Get the context data of the view. :noindex: :param \*\*kwargs: Arbitrary keyword arguments. :returns: The context data of the view. :rtype: dict .. py:attribute:: form_class .. py:attribute:: model .. py:attribute:: permission_required :value: 'core.add_capital' .. py:attribute:: template_name :value: 'general/polity_editor/polity_editor_update.html' .. py:class:: Polity_expertCreate Bases: :py:obj:`django.contrib.auth.mixins.PermissionRequiredMixin`, :py:obj:`django.views.generic.edit.CreateView` View for creating a new Polity_expert. .. note:: This view is restricted to users with the 'add_capital' permission. .. py:method:: get_absolute_url() Get the absolute URL of the view. :returns: The absolute URL of the view. :rtype: str .. py:method:: get_context_data(**kwargs) Get the context data of the view. :noindex: :param \*\*kwargs: Arbitrary keyword arguments. :returns: The context data of the view. :rtype: dict .. py:attribute:: form_class .. py:attribute:: model .. py:attribute:: permission_required :value: 'core.add_capital' .. py:attribute:: template_name :value: 'general/polity_expert/polity_expert_form.html' .. py:class:: Polity_expertDelete Bases: :py:obj:`django.contrib.auth.mixins.PermissionRequiredMixin`, :py:obj:`django.views.generic.edit.DeleteView` View for deleting an existing Polity_expert. .. note:: This view is restricted to users with the 'add_capital' permission. .. py:attribute:: model .. py:attribute:: permission_required :value: 'core.add_capital' .. py:attribute:: success_url .. py:attribute:: template_name :value: 'core/delete_general.html' .. py:class:: Polity_expertDetailView Bases: :py:obj:`django.views.generic.DetailView` View for displaying a single Polity_expert instance. .. py:attribute:: model .. py:attribute:: template_name :value: 'general/polity_expert/polity_expert_detail.html' .. py:class:: Polity_expertListView Bases: :py:obj:`django.views.generic.ListView` Paginated view for listing all Polity_expert instances. .. py:method:: get_absolute_url() Get the absolute URL of the view. :returns: The absolute URL of the view. :rtype: str .. py:method:: get_context_data(**kwargs) Get the context data of the view. :noindex: :param \*\*kwargs: Arbitrary keyword arguments. :returns: The context data of the view. :rtype: dict .. py:attribute:: model .. py:attribute:: paginate_by :value: 10 .. py:attribute:: template_name :value: 'general/polity_expert/polity_expert_list.html' .. py:class:: Polity_expertListViewAll Bases: :py:obj:`django.views.generic.ListView` View for listing all Polity_expert instances. .. py:method:: get_absolute_url() Get the absolute URL of the view. :returns: The absolute URL of the view. :rtype: str .. py:method:: get_context_data(**kwargs) Get the context data of the view. :noindex: :param \*\*kwargs: Arbitrary keyword arguments. :returns: The context data of the view. :rtype: dict .. py:method:: get_queryset() Get the queryset of Polity_expert instances. :returns: The queryset of Polity_expert instances. :rtype: QuerySet .. py:attribute:: model .. py:attribute:: template_name :value: 'general/polity_expert/polity_expert_list_all.html' .. py:class:: Polity_expertUpdate Bases: :py:obj:`django.contrib.auth.mixins.PermissionRequiredMixin`, :py:obj:`django.views.generic.edit.UpdateView` View for updating an existing Polity_expert. .. note:: This view is restricted to users with the 'add_capital' permission. .. py:method:: get_context_data(**kwargs) Get the context data of the view. :noindex: :param \*\*kwargs: Arbitrary keyword arguments. :returns: The context data of the view. :rtype: dict .. py:attribute:: form_class .. py:attribute:: model .. py:attribute:: permission_required :value: 'core.add_capital' .. py:attribute:: template_name :value: 'general/polity_expert/polity_expert_update.html' .. py:class:: Polity_languageCreate Bases: :py:obj:`django.contrib.auth.mixins.PermissionRequiredMixin`, :py:obj:`seshat.apps.general.mixins.PolityIdMixin`, :py:obj:`django.views.generic.edit.CreateView` View for creating a new Polity_language. .. note:: This view is restricted to users with the 'add_capital' permission. .. py:method:: get_absolute_url() Get the absolute URL of the view. :returns: The absolute URL of the view. :rtype: str .. py:method:: get_context_data(**kwargs) Get the context data of the view. :noindex: :param \*\*kwargs: Arbitrary keyword arguments. :returns: The context data of the view. :rtype: dict .. py:method:: get_form(form_class=None) Get the form of the view. Sort the choices of the language field. :param form_class: The form class. Defaults to None. :returns: The form of the view. :rtype: Form .. py:attribute:: form_class .. py:attribute:: model .. py:attribute:: permission_required :value: 'core.add_capital' .. py:attribute:: template_name :value: 'general/polity_language/polity_language_form.html' .. py:class:: Polity_languageDelete Bases: :py:obj:`django.contrib.auth.mixins.PermissionRequiredMixin`, :py:obj:`django.views.generic.edit.DeleteView` View for deleting an existing Polity_language. .. note:: This view is restricted to users with the 'add_capital' permission. .. py:attribute:: model .. py:attribute:: permission_required :value: 'core.add_capital' .. py:attribute:: success_url .. py:attribute:: template_name :value: 'core/delete_general.html' .. py:class:: Polity_languageDetailView Bases: :py:obj:`django.views.generic.DetailView` View for displaying a single Polity_language instance. .. py:attribute:: model .. py:attribute:: template_name :value: 'general/polity_language/polity_language_detail.html' .. py:class:: Polity_languageListView Bases: :py:obj:`django.views.generic.ListView` Paginated view for listing all Polity_language instances. .. py:method:: get_absolute_url() Get the absolute URL of the view. :returns: The absolute URL of the view. :rtype: str .. py:method:: get_context_data(**kwargs) Get the context data of the view. :noindex: :param \*\*kwargs: Arbitrary keyword arguments. :returns: The context data of the view. :rtype: dict .. py:attribute:: model .. py:attribute:: paginate_by :value: 10 .. py:attribute:: template_name :value: 'general/polity_language/polity_language_list.html' .. py:class:: Polity_languageListViewAll Bases: :py:obj:`django.views.generic.ListView` View for listing all Polity_language instances. .. py:method:: get_absolute_url() Get the absolute URL of the view. :returns: The absolute URL of the view. :rtype: str .. py:method:: get_context_data(**kwargs) Get the context data of the view. :noindex: :param \*\*kwargs: Arbitrary keyword arguments. :returns: The context data of the view. :rtype: dict .. py:method:: get_queryset() Get the queryset of Polity_language instances. :returns: The queryset of Polity_language instances. :rtype: QuerySet .. py:attribute:: model .. py:attribute:: template_name :value: 'general/polity_language/polity_language_list_all.html' .. py:class:: Polity_languageUpdate Bases: :py:obj:`django.contrib.auth.mixins.PermissionRequiredMixin`, :py:obj:`django.views.generic.edit.UpdateView` View for updating an existing Polity_language. .. note:: This view is restricted to users with the 'add_capital' permission. .. py:method:: get_context_data(**kwargs) Get the context data of the view. :noindex: :param \*\*kwargs: Arbitrary keyword arguments. :returns: The context data of the view. :rtype: dict .. py:method:: get_form(form_class=None) Get the form of the view. Sort the choices of the language field. :param form_class: The form class. Defaults to None. :returns: The form of the view. :rtype: Form .. py:attribute:: form_class .. py:attribute:: model .. py:attribute:: permission_required :value: 'core.add_capital' .. py:attribute:: template_name :value: 'general/polity_language/polity_language_update.html' .. py:class:: Polity_language_genusCreate Bases: :py:obj:`django.contrib.auth.mixins.PermissionRequiredMixin`, :py:obj:`seshat.apps.general.mixins.PolityIdMixin`, :py:obj:`django.views.generic.edit.CreateView` View for creating a new Polity_language_genus. .. note:: This view is restricted to users with the 'add_capital' permission. .. py:method:: get_absolute_url() Get the absolute URL of the view. :returns: The absolute URL of the view. :rtype: str .. py:method:: get_context_data(**kwargs) Get the context data of the view. :noindex: :param \*\*kwargs: Arbitrary keyword arguments. :returns: The context data of the view. :rtype: dict .. py:attribute:: form_class .. py:attribute:: model .. py:attribute:: permission_required :value: 'core.add_capital' .. py:attribute:: template_name :value: 'general/polity_language_genus/polity_language_genus_form.html' .. py:class:: Polity_language_genusDelete Bases: :py:obj:`django.contrib.auth.mixins.PermissionRequiredMixin`, :py:obj:`django.views.generic.edit.DeleteView` View for deleting an existing Polity_language_genus. .. note:: This view is restricted to users with the 'add_capital' permission. .. py:attribute:: model .. py:attribute:: permission_required :value: 'core.add_capital' .. py:attribute:: success_url .. py:attribute:: template_name :value: 'core/delete_general.html' .. py:class:: Polity_language_genusDetailView Bases: :py:obj:`django.views.generic.DetailView` View for displaying a single Polity_language_genus instance. .. py:attribute:: model .. py:attribute:: template_name :value: 'general/polity_language_genus/polity_language_genus_detail.html' .. py:class:: Polity_language_genusListView Bases: :py:obj:`django.views.generic.ListView` Paginated view for listing all Polity_language_genus instances. .. py:method:: get_absolute_url() Get the absolute URL of the view. :returns: The absolute URL of the view. :rtype: str .. py:method:: get_context_data(**kwargs) Get the context data of the view. :noindex: :param \*\*kwargs: Arbitrary keyword arguments. :returns: The context data of the view. :rtype: dict .. py:attribute:: model .. py:attribute:: paginate_by :value: 10 .. py:attribute:: template_name :value: 'general/polity_language_genus/polity_language_genus_list.html' .. py:class:: Polity_language_genusListViewAll Bases: :py:obj:`django.views.generic.ListView` View for listing all Polity_language_genus instances. .. py:method:: get_absolute_url() Get the absolute URL of the view. :returns: The absolute URL of the view. :rtype: str .. py:method:: get_context_data(**kwargs) Get the context data of the view. :noindex: :param \*\*kwargs: Arbitrary keyword arguments. :returns: The context data of the view. :rtype: dict .. py:method:: get_queryset() Get the queryset of Polity_language_genus instances. :returns: The queryset of Polity_language_genus instances. :rtype: QuerySet .. py:attribute:: model .. py:attribute:: template_name :value: 'general/polity_language_genus/polity_language_genus_list_all.html' .. py:class:: Polity_language_genusUpdate Bases: :py:obj:`django.contrib.auth.mixins.PermissionRequiredMixin`, :py:obj:`django.views.generic.edit.UpdateView` View for updating an existing Polity_language_genus. .. note:: This view is restricted to users with the 'add_capital' permission. .. py:method:: get_context_data(**kwargs) Get the context data of the view. :noindex: :param \*\*kwargs: Arbitrary keyword arguments. :returns: The context data of the view. :rtype: dict .. py:attribute:: form_class .. py:attribute:: model .. py:attribute:: permission_required :value: 'core.add_capital' .. py:attribute:: template_name :value: 'general/polity_language_genus/polity_language_genus_update.html' .. py:class:: Polity_linguistic_familyCreate Bases: :py:obj:`django.contrib.auth.mixins.PermissionRequiredMixin`, :py:obj:`seshat.apps.general.mixins.PolityIdMixin`, :py:obj:`django.views.generic.edit.CreateView` View for creating a new Polity_linguistic_family. .. note:: This view is restricted to users with the 'add_capital' permission. .. py:method:: get_absolute_url() Get the absolute URL of the view. :returns: The absolute URL of the view. :rtype: str .. py:method:: get_context_data(**kwargs) Get the context data of the view. :noindex: :param \*\*kwargs: Arbitrary keyword arguments. :returns: The context data of the view. :rtype: dict .. py:method:: get_form(form_class=None) Get the form of the view. Sort the choices of the linguistic_family field. :param form_class: The form class. Defaults to None. :returns: The form of the view. :rtype: Form .. py:attribute:: form_class .. py:attribute:: model .. py:attribute:: permission_required :value: 'core.add_capital' .. py:attribute:: template_name :value: 'general/polity_linguistic_family/polity_linguistic_family_form.html' .. py:class:: Polity_linguistic_familyDelete Bases: :py:obj:`django.contrib.auth.mixins.PermissionRequiredMixin`, :py:obj:`django.views.generic.edit.DeleteView` View for deleting an existing Polity_linguistic_family. .. note:: This view is restricted to users with the 'add_capital' permission. .. py:attribute:: model .. py:attribute:: permission_required :value: 'core.add_capital' .. py:attribute:: success_url .. py:attribute:: template_name :value: 'core/delete_general.html' .. py:class:: Polity_linguistic_familyDetailView Bases: :py:obj:`django.views.generic.DetailView` View for displaying a single Polity_linguistic_family instance. .. py:attribute:: model .. py:attribute:: template_name :value: 'general/polity_linguistic_family/polity_linguistic_family_detail.html' .. py:class:: Polity_linguistic_familyListView Bases: :py:obj:`django.views.generic.ListView` Paginated view for listing all Polity_linguistic_family instances. .. py:method:: get_absolute_url() Get the absolute URL of the view. :returns: The absolute URL of the view. :rtype: str .. py:method:: get_context_data(**kwargs) Get the context data of the view. :noindex: :param \*\*kwargs: Arbitrary keyword arguments. :returns: The context data of the view. :rtype: dict .. py:attribute:: model .. py:attribute:: paginate_by :value: 10 .. py:attribute:: template_name :value: 'general/polity_linguistic_family/polity_linguistic_family_list.html' .. py:class:: Polity_linguistic_familyListViewAll Bases: :py:obj:`django.views.generic.ListView` View for listing all Polity_linguistic_family instances. .. py:method:: get_absolute_url() Get the absolute URL of the view. :returns: The absolute URL of the view. :rtype: str .. py:method:: get_context_data(**kwargs) Get the context data of the view. :noindex: :param \*\*kwargs: Arbitrary keyword arguments. :returns: The context data of the view. :rtype: dict .. py:method:: get_queryset() Get the queryset of Polity_linguistic_family instances. :returns: The queryset of Polity_linguistic_family instances. :rtype: QuerySet .. py:attribute:: model .. py:attribute:: template_name :value: 'general/polity_linguistic_family/polity_linguistic_family_list_all.html' .. py:class:: Polity_linguistic_familyUpdate Bases: :py:obj:`django.contrib.auth.mixins.PermissionRequiredMixin`, :py:obj:`django.views.generic.edit.UpdateView` View for updating an existing Polity_linguistic_family. .. note:: This view is restricted to users with the 'add_capital' permission. .. py:method:: get_context_data(**kwargs) Get the context data of the view. :noindex: :param \*\*kwargs: Arbitrary keyword arguments. :returns: The context data of the view. :rtype: dict .. py:method:: get_form(form_class=None) Get the form of the view. Sort the choices of the linguistic_family field. :param form_class: The form class. Defaults to None. :returns: The form of the view. :rtype: Form .. py:attribute:: form_class .. py:attribute:: model .. py:attribute:: permission_required :value: 'core.add_capital' .. py:attribute:: template_name :value: 'general/polity_linguistic_family/polity_linguistic_family_update.html' .. py:class:: Polity_original_nameCreate Bases: :py:obj:`django.contrib.auth.mixins.PermissionRequiredMixin`, :py:obj:`seshat.apps.general.mixins.PolityIdMixin`, :py:obj:`django.views.generic.edit.CreateView` View for creating a new Polity_original_name. .. note:: This view is restricted to users with the 'add_capital' permission. .. py:method:: get_absolute_url() Get the absolute URL of the view. :returns: The absolute URL of the view. :rtype: str .. py:method:: get_context_data(**kwargs) Get the context data of the view. :noindex: :param \*\*kwargs: Arbitrary keyword arguments. :returns: The context data of the view. :rtype: dict .. py:attribute:: form_class .. py:attribute:: model .. py:attribute:: permission_required :value: 'core.add_capital' .. py:attribute:: template_name :value: 'general/polity_original_name/polity_original_name_form.html' .. py:class:: Polity_original_nameDelete Bases: :py:obj:`django.contrib.auth.mixins.PermissionRequiredMixin`, :py:obj:`django.views.generic.edit.DeleteView` View for deleting an existing Polity_original_name. .. note:: This view is restricted to users with the 'add_capital' permission. .. py:attribute:: model .. py:attribute:: permission_required :value: 'core.add_capital' .. py:attribute:: success_url .. py:attribute:: template_name :value: 'core/delete_general.html' .. py:class:: Polity_original_nameDetailView Bases: :py:obj:`django.views.generic.DetailView` View for displaying a single Polity_original_name instance. .. py:attribute:: model .. py:attribute:: template_name :value: 'general/polity_original_name/polity_original_name_detail.html' .. py:class:: Polity_original_nameListView Bases: :py:obj:`django.views.generic.ListView` Paginated view for listing all Polity_original_name instances. .. py:method:: get_absolute_url() Get the absolute URL of the view. :returns: The absolute URL of the view. :rtype: str .. py:method:: get_context_data(**kwargs) Get the context data of the view. :noindex: :param \*\*kwargs: Arbitrary keyword arguments. :returns: The context data of the view. :rtype: dict .. py:attribute:: model .. py:attribute:: paginate_by :value: 10 .. py:attribute:: template_name :value: 'general/polity_original_name/polity_original_name_list.html' .. py:class:: Polity_original_nameListViewAll Bases: :py:obj:`django.views.generic.ListView` View for listing all Polity_original_name instances. .. py:method:: get_absolute_url() Get the absolute URL of the view. :returns: The absolute URL of the view. :rtype: str .. py:method:: get_context_data(**kwargs) Get the context data of the view. :noindex: :param \*\*kwargs: Arbitrary keyword arguments. :returns: The context data of the view. :rtype: dict .. py:method:: get_queryset() Get the queryset of Polity_original_name instances. :returns: The queryset of Polity_original_name instances. :rtype: QuerySet .. py:attribute:: model .. py:attribute:: template_name :value: 'general/polity_original_name/polity_original_name_list_all.html' .. py:class:: Polity_original_nameUpdate Bases: :py:obj:`django.contrib.auth.mixins.PermissionRequiredMixin`, :py:obj:`django.views.generic.edit.UpdateView` View for updating an existing Polity_original_name. .. note:: This view is restricted to users with the 'add_capital' permission. .. py:method:: get_context_data(**kwargs) Get the context data of the view. :noindex: :param \*\*kwargs: Arbitrary keyword arguments. :returns: The context data of the view. :rtype: dict .. py:attribute:: form_class .. py:attribute:: model .. py:attribute:: permission_required :value: 'core.add_capital' .. py:attribute:: template_name :value: 'general/polity_original_name/polity_original_name_update.html' .. py:class:: Polity_peak_yearsCreate Bases: :py:obj:`django.contrib.auth.mixins.PermissionRequiredMixin`, :py:obj:`seshat.apps.general.mixins.PolityIdMixin`, :py:obj:`django.views.generic.edit.CreateView` View for creating a new Polity_peak_years. .. note:: This view is restricted to users with the 'add_capital' permission. .. py:method:: get_absolute_url() Get the absolute URL of the view. :returns: The absolute URL of the view. :rtype: str .. py:method:: get_context_data(**kwargs) Get the context data of the view. :noindex: :param \*\*kwargs: Arbitrary keyword arguments. :returns: The context data of the view. :rtype: dict .. py:method:: get_initial() Get the initial value of the polity field from the query string. .. note:: TODO This should already be handled by the PolityIdMixin. :returns: The initial value of the polity field. :rtype: dict .. py:attribute:: form_class .. py:attribute:: model .. py:attribute:: permission_required :value: 'core.add_capital' .. py:attribute:: template_name :value: 'general/polity_peak_years/polity_peak_years_form.html' .. py:class:: Polity_peak_yearsDelete Bases: :py:obj:`django.contrib.auth.mixins.PermissionRequiredMixin`, :py:obj:`django.views.generic.edit.DeleteView` View for deleting an existing Polity_peak_years. .. note:: This view is restricted to users with the 'add_capital' permission. .. py:attribute:: model .. py:attribute:: permission_required :value: 'core.add_capital' .. py:attribute:: success_url .. py:attribute:: template_name :value: 'core/delete_general.html' .. py:class:: Polity_peak_yearsDetailView Bases: :py:obj:`django.views.generic.DetailView` View for displaying a single Polity_peak_years instance. .. py:attribute:: model .. py:attribute:: template_name :value: 'general/polity_peak_years/polity_peak_years_detail.html' .. py:class:: Polity_peak_yearsListView Bases: :py:obj:`django.views.generic.ListView` Paginated view for listing all Polity_peak_years instances. .. py:method:: get_absolute_url() Get the absolute URL of the view. :returns: The absolute URL of the view. :rtype: str .. py:method:: get_context_data(**kwargs) Get the context data of the view. :noindex: :param \*\*kwargs: Arbitrary keyword arguments. :returns: The context data of the view. :rtype: dict .. py:attribute:: model .. py:attribute:: paginate_by :value: 10 .. py:attribute:: template_name :value: 'general/polity_peak_years/polity_peak_years_list.html' .. py:class:: Polity_peak_yearsListViewAll Bases: :py:obj:`django.views.generic.ListView` View for listing all Polity_peak_years instances. .. py:method:: get_absolute_url() Get the absolute URL of the view. :returns: The absolute URL of the view. :rtype: str .. py:method:: get_context_data(**kwargs) Get the context data of the view. :noindex: :param \*\*kwargs: Arbitrary keyword arguments. :returns: The context data of the view. :rtype: dict .. py:method:: get_queryset() Get the queryset of Polity_peak_years instances. :returns: The queryset of Polity_peak_years instances. :rtype: QuerySet .. py:attribute:: model .. py:attribute:: template_name :value: 'general/polity_peak_years/polity_peak_years_list_all.html' .. py:class:: Polity_peak_yearsUpdate Bases: :py:obj:`django.contrib.auth.mixins.PermissionRequiredMixin`, :py:obj:`django.views.generic.edit.UpdateView` View for updating an existing Polity_peak_years. .. note:: This view is restricted to users with the 'add_capital' permission. .. py:method:: get_context_data(**kwargs) Get the context data of the view. :noindex: :param \*\*kwargs: Arbitrary keyword arguments. :returns: The context data of the view. :rtype: dict .. py:attribute:: form_class .. py:attribute:: model .. py:attribute:: permission_required :value: 'core.add_capital' .. py:attribute:: template_name :value: 'general/polity_peak_years/polity_peak_years_update.html' .. py:class:: Polity_preceding_entityCreate Bases: :py:obj:`django.contrib.auth.mixins.PermissionRequiredMixin`, :py:obj:`seshat.apps.general.mixins.PolityIdMixin`, :py:obj:`django.views.generic.edit.CreateView` View for creating a new Polity_preceding_entity. .. note:: This view is restricted to users with the 'add_capital' permission. .. py:method:: get_absolute_url() Get the absolute URL of the view. :returns: The absolute URL of the view. :rtype: str .. py:method:: get_context_data(**kwargs) Get the context data of the view. :noindex: :param \*\*kwargs: Arbitrary keyword arguments. :returns: The context data of the view. :rtype: dict .. py:attribute:: form_class .. py:attribute:: model .. py:attribute:: permission_required :value: 'core.add_capital' .. py:attribute:: template_name :value: 'general/polity_preceding_entity/polity_preceding_entity_form.html' .. py:class:: Polity_preceding_entityDelete Bases: :py:obj:`django.contrib.auth.mixins.PermissionRequiredMixin`, :py:obj:`django.views.generic.edit.DeleteView` View for deleting an existing Polity_preceding_entity. .. note:: This view is restricted to users with the 'add_capital' permission. .. py:attribute:: model .. py:attribute:: permission_required :value: 'core.add_capital' .. py:attribute:: success_url .. py:attribute:: template_name :value: 'core/delete_general.html' .. py:class:: Polity_preceding_entityDetailView Bases: :py:obj:`django.views.generic.DetailView` View for displaying a single Polity_preceding_entity instance. .. py:attribute:: model .. py:attribute:: template_name :value: 'general/polity_preceding_entity/polity_preceding_entity_detail.html' .. py:class:: Polity_preceding_entityListView Bases: :py:obj:`django.views.generic.ListView` Paginated view for listing all Polity_preceding_entity instances. .. py:method:: get_absolute_url() Get the absolute URL of the view. :returns: The absolute URL of the view. :rtype: str .. py:method:: get_context_data(**kwargs) Get the context data of the view. :noindex: :param \*\*kwargs: Arbitrary keyword arguments. :returns: The context data of the view. :rtype: dict .. py:attribute:: model .. py:attribute:: paginate_by :value: 10 .. py:attribute:: template_name :value: 'general/polity_preceding_entity/polity_preceding_entity_list.html' .. py:class:: Polity_preceding_entityListViewAll Bases: :py:obj:`django.views.generic.ListView` View for listing all Polity_preceding_entity instances. .. py:method:: get_absolute_url() Get the absolute URL of the view. :returns: The absolute URL of the view. :rtype: str .. py:method:: get_context_data(**kwargs) Get the context data of the view. :noindex: :param \*\*kwargs: Arbitrary keyword arguments. :returns: The context data of the view. :rtype: dict .. py:method:: get_queryset() Get the queryset of Polity_preceding_entity instances. :returns: The queryset of Polity_preceding_entity instances. :rtype: QuerySet .. py:attribute:: model .. py:attribute:: template_name :value: 'general/polity_preceding_entity/polity_preceding_entity_list_all.html' .. py:class:: Polity_preceding_entityUpdate Bases: :py:obj:`django.contrib.auth.mixins.PermissionRequiredMixin`, :py:obj:`django.views.generic.edit.UpdateView` View for updating an existing Polity_preceding_entity. .. note:: This view is restricted to users with the 'add_capital' permission. .. py:method:: get_context_data(**kwargs) Get the context data of the view. :noindex: :param \*\*kwargs: Arbitrary keyword arguments. :returns: The context data of the view. :rtype: dict .. py:attribute:: form_class .. py:attribute:: model .. py:attribute:: permission_required :value: 'core.add_capital' .. py:attribute:: template_name :value: 'general/polity_preceding_entity/polity_preceding_entity_update.html' .. py:class:: Polity_relationship_to_preceding_entityCreate Bases: :py:obj:`django.contrib.auth.mixins.PermissionRequiredMixin`, :py:obj:`seshat.apps.general.mixins.PolityIdMixin`, :py:obj:`django.views.generic.edit.CreateView` View for creating a new Polity_relationship_to_preceding_entity. .. note:: This view is restricted to users with the 'add_capital' permission. .. py:method:: get_absolute_url() Get the absolute URL of the view. :returns: The absolute URL of the view. :rtype: str .. py:method:: get_context_data(**kwargs) Get the context data of the view. :noindex: :param \*\*kwargs: Arbitrary keyword arguments. :returns: The context data of the view. :rtype: dict .. py:method:: get_form(form_class=None) Get the form of the view. Sort the choices of the relationship_to_preceding_entity field. :param form_class: The form class. Defaults to None. :returns: The form of the view. :rtype: Form .. py:attribute:: form_class .. py:attribute:: model .. py:attribute:: permission_required :value: 'core.add_capital' .. py:attribute:: template_name :value: 'general/polity_relationship_to_preceding_entity/polity_relationship_to_preceding_entity_form.html' .. py:class:: Polity_relationship_to_preceding_entityDelete Bases: :py:obj:`django.contrib.auth.mixins.PermissionRequiredMixin`, :py:obj:`django.views.generic.edit.DeleteView` View for deleting an existing Polity_relationship_to_preceding_entity. .. note:: This view is restricted to users with the 'add_capital' permission. .. py:attribute:: model .. py:attribute:: permission_required :value: 'core.add_capital' .. py:attribute:: success_url .. py:attribute:: template_name :value: 'core/delete_general.html' .. py:class:: Polity_relationship_to_preceding_entityDetailView Bases: :py:obj:`django.views.generic.DetailView` View for displaying a single Polity_relationship_to_preceding_entity instance. .. py:attribute:: model .. py:attribute:: template_name :value: 'general/polity_relationship_to_preceding_entity/polity_relationship_to_preceding_entity_detail.html' .. py:class:: Polity_relationship_to_preceding_entityListView Bases: :py:obj:`django.views.generic.ListView` Paginated view for listing all Polity_relationship_to_preceding_entity instances. .. py:method:: get_absolute_url() Get the absolute URL of the view. :returns: The absolute URL of the view. :rtype: str .. py:method:: get_context_data(**kwargs) Get the context data of the view. :noindex: :param \*\*kwargs: Arbitrary keyword arguments. :returns: The context data of the view. :rtype: dict .. py:attribute:: model .. py:attribute:: paginate_by :value: 10 .. py:attribute:: template_name :value: 'general/polity_relationship_to_preceding_entity/polity_relationship_to_preceding_entity_list.html' .. py:class:: Polity_relationship_to_preceding_entityListViewAll Bases: :py:obj:`django.views.generic.ListView` View for listing all Polity_relationship_to_preceding_entity instances. .. py:method:: get_absolute_url() Get the absolute URL of the view. :returns: The absolute URL of the view. :rtype: str .. py:method:: get_context_data(**kwargs) Get the context data of the view. :noindex: :param \*\*kwargs: Arbitrary keyword arguments. :returns: The context data of the view. :rtype: dict .. py:method:: get_queryset() Get the queryset of Polity_relationship_to_preceding_entity instances. :returns: The queryset of Polity_relationship_to_preceding_entity instances. :rtype: QuerySet .. py:attribute:: model .. py:attribute:: template_name :value: 'general/polity_relationship_to_preceding_entity/polity_relationship_to_preceding_entity_list_all.html' .. py:class:: Polity_relationship_to_preceding_entityUpdate Bases: :py:obj:`django.contrib.auth.mixins.PermissionRequiredMixin`, :py:obj:`django.views.generic.edit.UpdateView` View for updating an existing Polity_relationship_to_preceding_entity. .. note:: This view is restricted to users with the 'add_capital' permission. .. py:method:: get_context_data(**kwargs) Get the context data of the view. :noindex: :param \*\*kwargs: Arbitrary keyword arguments. :returns: The context data of the view. :rtype: dict .. py:method:: get_form(form_class=None) Get the form of the view. Sort the choices of the relationship_to_preceding_entity field. :param form_class: The form class. Defaults to None. :returns: The form of the view. :rtype: Form .. py:attribute:: form_class .. py:attribute:: model .. py:attribute:: permission_required :value: 'core.add_capital' .. py:attribute:: template_name :value: 'general/polity_relationship_to_preceding_entity/polity_relationship_to_preceding_entity_update.html' .. py:class:: Polity_religionCreate Bases: :py:obj:`django.contrib.auth.mixins.PermissionRequiredMixin`, :py:obj:`seshat.apps.general.mixins.PolityIdMixin`, :py:obj:`django.views.generic.edit.CreateView` View for creating a new Polity_religion. .. note:: This view is restricted to users with the 'add_capital' permission. .. py:method:: get_absolute_url() Get the absolute URL of the view. :returns: The absolute URL of the view. :rtype: str .. py:method:: get_context_data(**kwargs) Get the context data of the view. :noindex: :param \*\*kwargs: Arbitrary keyword arguments. :returns: The context data of the view. :rtype: dict .. py:method:: get_form(form_class=None) Get the form of the view. Sort the choices of the religion field. :param form_class: The form class. Defaults to None. :returns: The form of the view. :rtype: Form .. py:attribute:: form_class .. py:attribute:: model .. py:attribute:: permission_required :value: 'core.add_capital' .. py:attribute:: template_name :value: 'general/polity_religion/polity_religion_form.html' .. py:class:: Polity_religionDelete Bases: :py:obj:`django.contrib.auth.mixins.PermissionRequiredMixin`, :py:obj:`django.views.generic.edit.DeleteView` View for deleting an existing Polity_religion. .. note:: This view is restricted to users with the 'add_capital' permission. .. py:attribute:: model .. py:attribute:: permission_required :value: 'core.add_capital' .. py:attribute:: success_url .. py:attribute:: template_name :value: 'core/delete_general.html' .. py:class:: Polity_religionDetailView Bases: :py:obj:`django.views.generic.DetailView` View for displaying a single Polity_religion instance. .. py:attribute:: model .. py:attribute:: template_name :value: 'general/polity_religion/polity_religion_detail.html' .. py:class:: Polity_religionListView Bases: :py:obj:`django.views.generic.ListView` Paginated view for listing all Polity_religion instances. .. py:method:: get_absolute_url() Get the absolute URL of the view. :returns: The absolute URL of the view. :rtype: str .. py:method:: get_context_data(**kwargs) Get the context data of the view. :noindex: :param \*\*kwargs: Arbitrary keyword arguments. :returns: The context data of the view. :rtype: dict .. py:attribute:: model .. py:attribute:: paginate_by :value: 10 .. py:attribute:: template_name :value: 'general/polity_religion/polity_religion_list.html' .. py:class:: Polity_religionListViewAll Bases: :py:obj:`django.views.generic.ListView` View for listing all Polity_religion instances. .. py:method:: get_absolute_url() Get the absolute URL of the view. :returns: The absolute URL of the view. :rtype: str .. py:method:: get_context_data(**kwargs) Get the context data of the view. :noindex: :param \*\*kwargs: Arbitrary keyword arguments. :returns: The context data of the view. :rtype: dict .. py:method:: get_queryset() Get the queryset of Polity_religion instances. :returns: The queryset of Polity_religion instances. :rtype: QuerySet .. py:attribute:: model .. py:attribute:: template_name :value: 'general/polity_religion/polity_religion_list_all.html' .. py:class:: Polity_religionUpdate Bases: :py:obj:`django.contrib.auth.mixins.PermissionRequiredMixin`, :py:obj:`django.views.generic.edit.UpdateView` View for updating an existing Polity_religion. .. note:: This view is restricted to users with the 'add_capital' permission. .. py:method:: get_context_data(**kwargs) Get the context data of the view. :noindex: :param \*\*kwargs: Arbitrary keyword arguments. :returns: The context data of the view. :rtype: dict .. py:method:: get_form(form_class=None) Get the form of the view. Sort the choices of the religion field. :param form_class: The form class. Defaults to None. :returns: The form of the view. :rtype: Form .. py:attribute:: form_class .. py:attribute:: model .. py:attribute:: permission_required :value: 'core.add_capital' .. py:attribute:: template_name :value: 'general/polity_religion/polity_religion_update.html' .. py:class:: Polity_religion_familyCreate Bases: :py:obj:`django.contrib.auth.mixins.PermissionRequiredMixin`, :py:obj:`seshat.apps.general.mixins.PolityIdMixin`, :py:obj:`django.views.generic.edit.CreateView` View for creating a new Polity_religion_family. .. note:: This view is restricted to users with the 'add_capital' permission. .. py:method:: get_absolute_url() Get the absolute URL of the view. :returns: The absolute URL of the view. :rtype: str .. py:method:: get_context_data(**kwargs) Get the context data of the view. :noindex: :param \*\*kwargs: Arbitrary keyword arguments. :returns: The context data of the view. :rtype: dict .. py:method:: get_form(form_class=None) Get the form of the view. Sort the choices of the religion_family field. :param form_class: The form class. Defaults to None. :returns: The form of the view. :rtype: Form .. py:method:: get_initial() Get the initial value of the polity field from the query string. .. note:: TODO This should already be handled by the PolityIdMixin. :returns: The initial value of the polity field. :rtype: dict .. py:attribute:: form_class .. py:attribute:: model .. py:attribute:: permission_required :value: 'core.add_capital' .. py:attribute:: template_name :value: 'general/polity_religion_family/polity_religion_family_form.html' .. py:class:: Polity_religion_familyDelete Bases: :py:obj:`django.contrib.auth.mixins.PermissionRequiredMixin`, :py:obj:`django.views.generic.edit.DeleteView` View for deleting an existing Polity_religion_family. .. note:: This view is restricted to users with the 'add_capital' permission. .. py:attribute:: model .. py:attribute:: permission_required :value: 'core.add_capital' .. py:attribute:: success_url .. py:attribute:: template_name :value: 'core/delete_general.html' .. py:class:: Polity_religion_familyDetailView Bases: :py:obj:`django.views.generic.DetailView` View for displaying a single Polity_religion_family instance. .. py:attribute:: model .. py:attribute:: template_name :value: 'general/polity_religion_family/polity_religion_family_detail.html' .. py:class:: Polity_religion_familyListView Bases: :py:obj:`django.views.generic.ListView` Paginated view for listing all Polity_religion_family instances. .. py:method:: get_absolute_url() Get the absolute URL of the view. :returns: The absolute URL of the view. :rtype: str .. py:method:: get_context_data(**kwargs) Get the context data of the view. :noindex: :param \*\*kwargs: Arbitrary keyword arguments. :returns: The context data of the view. :rtype: dict .. py:attribute:: model .. py:attribute:: paginate_by :value: 10 .. py:attribute:: template_name :value: 'general/polity_religion_family/polity_religion_family_list.html' .. py:class:: Polity_religion_familyListViewAll Bases: :py:obj:`django.views.generic.ListView` View for listing all Polity_religion_family instances. .. py:method:: get_absolute_url() Get the absolute URL of the view. :returns: The absolute URL of the view. :rtype: str .. py:method:: get_context_data(**kwargs) Get the context data of the view. :noindex: :param \*\*kwargs: Arbitrary keyword arguments. :returns: The context data of the view. :rtype: dict .. py:method:: get_queryset() Get the queryset of Polity_religion_family instances. :returns: The queryset of Polity_religion_family instances. :rtype: QuerySet .. py:attribute:: model .. py:attribute:: template_name :value: 'general/polity_religion_family/polity_religion_family_list_all.html' .. py:class:: Polity_religion_familyUpdate Bases: :py:obj:`django.contrib.auth.mixins.PermissionRequiredMixin`, :py:obj:`django.views.generic.edit.UpdateView` View for updating an existing Polity_religion_family. .. note:: This view is restricted to users with the 'add_capital' permission. .. py:method:: get_context_data(**kwargs) Get the context data of the view. :noindex: :param \*\*kwargs: Arbitrary keyword arguments. :returns: The context data of the view. :rtype: dict .. py:method:: get_form(form_class=None) Get the form of the view. Sort the choices of the religion_family field. :param form_class: The form class. Defaults to None. :returns: The form of the view. :rtype: Form .. py:attribute:: form_class .. py:attribute:: model .. py:attribute:: permission_required :value: 'core.add_capital' .. py:attribute:: template_name :value: 'general/polity_religion_family/polity_religion_family_update.html' .. py:class:: Polity_religion_genusCreate Bases: :py:obj:`django.contrib.auth.mixins.PermissionRequiredMixin`, :py:obj:`seshat.apps.general.mixins.PolityIdMixin`, :py:obj:`django.views.generic.edit.CreateView` View for creating a new Polity_religion_genus. .. note:: This view is restricted to users with the 'add_capital' permission. .. py:method:: get_absolute_url() Get the absolute URL of the view. :returns: The absolute URL of the view. :rtype: str .. py:method:: get_context_data(**kwargs) Get the context data of the view. :noindex: :param \*\*kwargs: Arbitrary keyword arguments. :returns: The context data of the view. :rtype: dict .. py:method:: get_form(form_class=None) Get the form of the view. Sort the choices of the religion_genus field. :param form_class: The form class. Defaults to None. :returns: The form of the view. :rtype: Form .. py:attribute:: form_class .. py:attribute:: model .. py:attribute:: permission_required :value: 'core.add_capital' .. py:attribute:: template_name :value: 'general/polity_religion_genus/polity_religion_genus_form.html' .. py:class:: Polity_religion_genusDelete Bases: :py:obj:`django.contrib.auth.mixins.PermissionRequiredMixin`, :py:obj:`django.views.generic.edit.DeleteView` View for deleting an existing Polity_religion_genus. .. note:: This view is restricted to users with the 'add_capital' permission. .. py:attribute:: model .. py:attribute:: permission_required :value: 'core.add_capital' .. py:attribute:: success_url .. py:attribute:: template_name :value: 'core/delete_general.html' .. py:class:: Polity_religion_genusDetailView Bases: :py:obj:`django.views.generic.DetailView` View for displaying a single Polity_religion_genus instance. .. py:attribute:: model .. py:attribute:: template_name :value: 'general/polity_religion_genus/polity_religion_genus_detail.html' .. py:class:: Polity_religion_genusListView Bases: :py:obj:`django.views.generic.ListView` Paginated view for listing all Polity_religion_genus instances. .. py:method:: get_absolute_url() Get the absolute URL of the view. :returns: The absolute URL of the view. :rtype: str .. py:method:: get_context_data(**kwargs) Get the context data of the view. :noindex: :param \*\*kwargs: Arbitrary keyword arguments. :returns: The context data of the view. :rtype: dict .. py:attribute:: model .. py:attribute:: paginate_by :value: 10 .. py:attribute:: template_name :value: 'general/polity_religion_genus/polity_religion_genus_list.html' .. py:class:: Polity_religion_genusListViewAll Bases: :py:obj:`django.views.generic.ListView` View for listing all Polity_religion_genus instances. .. py:method:: get_absolute_url() Get the absolute URL of the view. :returns: The absolute URL of the view. :rtype: str .. py:method:: get_context_data(**kwargs) Get the context data of the view. :noindex: :param \*\*kwargs: Arbitrary keyword arguments. :returns: The context data of the view. :rtype: dict .. py:method:: get_queryset() Get the queryset of Polity_religion_genus instances. :returns: The queryset of Polity_religion_genus instances. :rtype: QuerySet .. py:attribute:: model .. py:attribute:: template_name :value: 'general/polity_religion_genus/polity_religion_genus_list_all.html' .. py:class:: Polity_religion_genusUpdate Bases: :py:obj:`django.contrib.auth.mixins.PermissionRequiredMixin`, :py:obj:`django.views.generic.edit.UpdateView` View for updating an existing Polity_religion_genus. .. note:: This view is restricted to users with the 'add_capital' permission. .. py:method:: get_context_data(**kwargs) Get the context data of the view. :noindex: :param \*\*kwargs: Arbitrary keyword arguments. :returns: The context data of the view. :rtype: dict .. py:method:: get_form(form_class=None) Get the form of the view. Sort the choices of the religion_genus field. :param form_class: The form class. Defaults to None. :returns: The form of the view. :rtype: Form .. py:attribute:: form_class .. py:attribute:: model .. py:attribute:: permission_required :value: 'core.add_capital' .. py:attribute:: template_name :value: 'general/polity_religion_genus/polity_religion_genus_update.html' .. py:class:: Polity_religious_traditionCreate Bases: :py:obj:`django.contrib.auth.mixins.PermissionRequiredMixin`, :py:obj:`seshat.apps.general.mixins.PolityIdMixin`, :py:obj:`django.views.generic.edit.CreateView` View for creating a new Polity_religious_tradition. .. note:: This view is restricted to users with the 'add_capital' permission. .. py:method:: get_absolute_url() Get the absolute URL of the view. :returns: The absolute URL of the view. :rtype: str .. py:method:: get_context_data(**kwargs) Get the context data of the view. :noindex: :param \*\*kwargs: Arbitrary keyword arguments. :returns: The context data of the view. :rtype: dict .. py:attribute:: form_class .. py:attribute:: model .. py:attribute:: permission_required :value: 'core.add_capital' .. py:attribute:: template_name :value: 'general/polity_religious_tradition/polity_religious_tradition_form.html' .. py:class:: Polity_religious_traditionDelete Bases: :py:obj:`django.contrib.auth.mixins.PermissionRequiredMixin`, :py:obj:`django.views.generic.edit.DeleteView` View for deleting an existing Polity_religious_tradition. .. note:: This view is restricted to users with the 'add_capital' permission. .. py:attribute:: model .. py:attribute:: permission_required :value: 'core.add_capital' .. py:attribute:: success_url .. py:attribute:: template_name :value: 'core/delete_general.html' .. py:class:: Polity_religious_traditionDetailView Bases: :py:obj:`django.views.generic.DetailView` View for displaying a single Polity_religious_tradition instance. .. py:attribute:: model .. py:attribute:: template_name :value: 'general/polity_religious_tradition/polity_religious_tradition_detail.html' .. py:class:: Polity_religious_traditionListView Bases: :py:obj:`django.views.generic.ListView` Paginated view for listing all Polity_religious_tradition instances. .. py:method:: get_absolute_url() Get the absolute URL of the view. :returns: The absolute URL of the view. :rtype: str .. py:method:: get_context_data(**kwargs) Get the context data of the view. :noindex: :param \*\*kwargs: Arbitrary keyword arguments. :returns: The context data of the view. :rtype: dict .. py:attribute:: model .. py:attribute:: paginate_by :value: 10 .. py:attribute:: template_name :value: 'general/polity_religious_tradition/polity_religious_tradition_list.html' .. py:class:: Polity_religious_traditionListViewAll Bases: :py:obj:`django.views.generic.ListView` View for listing all Polity_religious_tradition instances. .. py:method:: get_absolute_url() Get the absolute URL of the view. :returns: The absolute URL of the view. :rtype: str .. py:method:: get_context_data(**kwargs) Get the context data of the view. :noindex: :param \*\*kwargs: Arbitrary keyword arguments. :returns: The context data of the view. :rtype: dict .. py:method:: get_queryset() Get the queryset of Polity_religious_tradition instances. :returns: The queryset of Polity_religious_tradition instances. :rtype: QuerySet .. py:attribute:: model .. py:attribute:: template_name :value: 'general/polity_religious_tradition/polity_religious_tradition_list_all.html' .. py:class:: Polity_religious_traditionUpdate Bases: :py:obj:`django.contrib.auth.mixins.PermissionRequiredMixin`, :py:obj:`django.views.generic.edit.UpdateView` View for updating an existing Polity_religious_tradition. .. note:: This view is restricted to users with the 'add_capital' permission. .. py:method:: get_context_data(**kwargs) Get the context data of the view. :noindex: :param \*\*kwargs: Arbitrary keyword arguments. :returns: The context data of the view. :rtype: dict .. py:attribute:: form_class .. py:attribute:: model .. py:attribute:: permission_required :value: 'core.add_capital' .. py:attribute:: template_name :value: 'general/polity_religious_tradition/polity_religious_tradition_update.html' .. py:class:: Polity_research_assistantCreate Bases: :py:obj:`django.contrib.auth.mixins.PermissionRequiredMixin`, :py:obj:`django.views.generic.edit.CreateView` View for creating a new Polity_research_assistant. .. note:: This view is restricted to users with the 'add_capital' permission. .. py:method:: get_absolute_url() Get the absolute URL of the view. :returns: The absolute URL of the view. :rtype: str .. py:method:: get_context_data(**kwargs) Get the context data of the view. :noindex: :param \*\*kwargs: Arbitrary keyword arguments. :returns: The context data of the view. :rtype: dict .. py:attribute:: form_class .. py:attribute:: model .. py:attribute:: permission_required :value: 'core.add_capital' .. py:attribute:: template_name :value: 'general/polity_research_assistant/polity_research_assistant_form.html' .. py:class:: Polity_research_assistantDelete Bases: :py:obj:`django.contrib.auth.mixins.PermissionRequiredMixin`, :py:obj:`django.views.generic.edit.DeleteView` View for deleting an existing Polity_research_assistant. .. note:: This view is restricted to users with the 'add_capital' permission. .. py:attribute:: model .. py:attribute:: permission_required :value: 'core.add_capital' .. py:attribute:: success_url .. py:attribute:: template_name :value: 'core/delete_general.html' .. py:class:: Polity_research_assistantDetailView Bases: :py:obj:`django.views.generic.DetailView` View for displaying a single Polity_research_assistant instance. .. py:attribute:: model .. py:attribute:: template_name :value: 'general/polity_research_assistant/polity_research_assistant_detail.html' .. py:class:: Polity_research_assistantListView Bases: :py:obj:`django.views.generic.ListView` Paginated view for listing all Polity_research_assistant instances. .. py:method:: get_absolute_url() Get the absolute URL of the view. :returns: The absolute URL of the view. :rtype: str .. py:method:: get_context_data(**kwargs) Get the context data of the view. :noindex: :param \*\*kwargs: Arbitrary keyword arguments. :returns: The context data of the view. :rtype: dict .. py:attribute:: model .. py:attribute:: paginate_by :value: 10 .. py:attribute:: template_name :value: 'general/polity_research_assistant/polity_research_assistant_list.html' .. py:class:: Polity_research_assistantListViewAll Bases: :py:obj:`django.views.generic.ListView` View for listing all Polity_research_assistant instances. .. py:method:: get_absolute_url() Get the absolute URL of the view. :returns: The absolute URL of the view. :rtype: str .. py:method:: get_context_data(**kwargs) Get the context data of the view. :noindex: :param \*\*kwargs: Arbitrary keyword arguments. :returns: The context data of the view. :rtype: dict .. py:method:: get_queryset() Get the queryset of Polity_research_assistant instances. :returns: The queryset of Polity_research_assistant instances. :rtype: QuerySet .. py:attribute:: model .. py:attribute:: template_name :value: 'general/polity_research_assistant/polity_research_assistant_list_all.html' .. py:class:: Polity_research_assistantUpdate Bases: :py:obj:`django.contrib.auth.mixins.PermissionRequiredMixin`, :py:obj:`django.views.generic.edit.UpdateView` View for updating an existing Polity_research_assistant. .. note:: This view is restricted to users with the 'add_capital' permission. .. py:method:: get_context_data(**kwargs) Get the context data of the view. :noindex: :param \*\*kwargs: Arbitrary keyword arguments. :returns: The context data of the view. :rtype: dict .. py:attribute:: form_class .. py:attribute:: model .. py:attribute:: permission_required :value: 'core.add_capital' .. py:attribute:: template_name :value: 'general/polity_research_assistant/polity_research_assistant_update.html' .. py:class:: Polity_scale_of_supracultural_interactionCreate Bases: :py:obj:`django.contrib.auth.mixins.PermissionRequiredMixin`, :py:obj:`seshat.apps.general.mixins.PolityIdMixin`, :py:obj:`django.views.generic.edit.CreateView` View for creating a new Polity_scale_of_supracultural_interaction. .. note:: This view is restricted to users with the 'add_capital' permission. .. py:method:: get_absolute_url() Get the absolute URL of the view. :returns: The absolute URL of the view. :rtype: str .. py:method:: get_context_data(**kwargs) Get the context data of the view. :noindex: :param \*\*kwargs: Arbitrary keyword arguments. :returns: The context data of the view. :rtype: dict .. py:attribute:: form_class .. py:attribute:: model .. py:attribute:: permission_required :value: 'core.add_capital' .. py:attribute:: template_name :value: 'general/polity_scale_of_supracultural_interaction/polity_scale_of_supracultural_interaction_form.html' .. py:class:: Polity_scale_of_supracultural_interactionDelete Bases: :py:obj:`django.contrib.auth.mixins.PermissionRequiredMixin`, :py:obj:`django.views.generic.edit.DeleteView` View for deleting an existing Polity_scale_of_supracultural_interaction. .. note:: This view is restricted to users with the 'add_capital' permission. .. py:attribute:: model .. py:attribute:: permission_required :value: 'core.add_capital' .. py:attribute:: success_url .. py:attribute:: template_name :value: 'core/delete_general.html' .. py:class:: Polity_scale_of_supracultural_interactionDetailView Bases: :py:obj:`django.views.generic.DetailView` View for displaying a single Polity_scale_of_supracultural_interaction instance. .. py:attribute:: model .. py:attribute:: template_name :value: 'general/polity_scale_of_supracultural_interaction/polity_scale_of_supracultural_interaction_detail.html' .. py:class:: Polity_scale_of_supracultural_interactionListView Bases: :py:obj:`django.views.generic.ListView` Paginated view for listing all Polity_scale_of_supracultural_interaction instances. .. py:method:: get_absolute_url() Get the absolute URL of the view. :returns: The absolute URL of the view. :rtype: str .. py:method:: get_context_data(**kwargs) Get the context data of the view. :noindex: :param \*\*kwargs: Arbitrary keyword arguments. :returns: The context data of the view. :rtype: dict .. py:attribute:: model .. py:attribute:: paginate_by :value: 10 .. py:attribute:: template_name :value: 'general/polity_scale_of_supracultural_interaction/polity_scale_of_supracultural_interaction_list.html' .. py:class:: Polity_scale_of_supracultural_interactionListViewAll Bases: :py:obj:`django.views.generic.ListView` View for listing all Polity_scale_of_supracultural_interaction instances. .. py:method:: get_absolute_url() Get the absolute URL of the view. :returns: The absolute URL of the view. :rtype: str .. py:method:: get_context_data(**kwargs) Get the context data of the view. :noindex: :param \*\*kwargs: Arbitrary keyword arguments. :returns: The context data of the view. :rtype: dict .. py:method:: get_queryset() Get the queryset of Polity_scale_of_supracultural_interaction instances. :returns: The queryset of Polity_scale_of_supracultural_interaction instances. :rtype: QuerySet .. py:attribute:: model .. py:attribute:: template_name :value: 'general/polity_scale_of_supracultural_interaction/polity_scale_of_supracultural_interaction_list... .. py:class:: Polity_scale_of_supracultural_interactionUpdate Bases: :py:obj:`django.contrib.auth.mixins.PermissionRequiredMixin`, :py:obj:`django.views.generic.edit.UpdateView` View for updating an existing Polity_scale_of_supracultural_interaction. .. note:: This view is restricted to users with the 'add_capital' permission. .. py:method:: get_context_data(**kwargs) Get the context data of the view. :noindex: :param \*\*kwargs: Arbitrary keyword arguments. :returns: The context data of the view. :rtype: dict .. py:attribute:: form_class .. py:attribute:: model .. py:attribute:: permission_required :value: 'core.add_capital' .. py:attribute:: template_name :value: 'general/polity_scale_of_supracultural_interaction/polity_scale_of_supracultural_interaction_update.html' .. py:class:: Polity_succeeding_entityCreate Bases: :py:obj:`django.contrib.auth.mixins.PermissionRequiredMixin`, :py:obj:`seshat.apps.general.mixins.PolityIdMixin`, :py:obj:`django.views.generic.edit.CreateView` View for creating a new Polity_succeeding_entity. .. note:: This view is restricted to users with the 'add_capital' permission. .. py:method:: get_absolute_url() Get the absolute URL of the view. :returns: The absolute URL of the view. :rtype: str .. py:method:: get_context_data(**kwargs) Get the context data of the view. :noindex: :param \*\*kwargs: Arbitrary keyword arguments. :returns: The context data of the view. :rtype: dict .. py:attribute:: form_class .. py:attribute:: model .. py:attribute:: permission_required :value: 'core.add_capital' .. py:attribute:: template_name :value: 'general/polity_succeeding_entity/polity_succeeding_entity_form.html' .. py:class:: Polity_succeeding_entityDelete Bases: :py:obj:`django.contrib.auth.mixins.PermissionRequiredMixin`, :py:obj:`django.views.generic.edit.DeleteView` View for deleting an existing Polity_succeeding_entity. .. note:: This view is restricted to users with the 'add_capital' permission. .. py:attribute:: model .. py:attribute:: permission_required :value: 'core.add_capital' .. py:attribute:: success_url .. py:attribute:: template_name :value: 'core/delete_general.html' .. py:class:: Polity_succeeding_entityDetailView Bases: :py:obj:`django.views.generic.DetailView` View for displaying a single Polity_succeeding_entity instance. .. py:attribute:: model .. py:attribute:: template_name :value: 'general/polity_succeeding_entity/polity_succeeding_entity_detail.html' .. py:class:: Polity_succeeding_entityListView Bases: :py:obj:`django.views.generic.ListView` Paginated view for listing all Polity_succeeding_entity instances. .. py:method:: get_absolute_url() Get the absolute URL of the view. :returns: The absolute URL of the view. :rtype: str .. py:method:: get_context_data(**kwargs) Get the context data of the view. :noindex: :param \*\*kwargs: Arbitrary keyword arguments. :returns: The context data of the view. :rtype: dict .. py:attribute:: model .. py:attribute:: paginate_by :value: 10 .. py:attribute:: template_name :value: 'general/polity_succeeding_entity/polity_succeeding_entity_list.html' .. py:class:: Polity_succeeding_entityListViewAll Bases: :py:obj:`django.views.generic.ListView` View for listing all Polity_succeeding_entity instances. .. py:method:: get_absolute_url() Get the absolute URL of the view. :returns: The absolute URL of the view. :rtype: str .. py:method:: get_context_data(**kwargs) Get the context data of the view. :noindex: :param \*\*kwargs: Arbitrary keyword arguments. :returns: The context data of the view. :rtype: dict .. py:method:: get_queryset() Get the queryset of Polity_succeeding_entity instances. :returns: The queryset of Polity_succeeding_entity instances. :rtype: QuerySet .. py:attribute:: model .. py:attribute:: template_name :value: 'general/polity_succeeding_entity/polity_succeeding_entity_list_all.html' .. py:class:: Polity_succeeding_entityUpdate Bases: :py:obj:`django.contrib.auth.mixins.PermissionRequiredMixin`, :py:obj:`django.views.generic.edit.UpdateView` View for updating an existing Polity_succeeding_entity. .. note:: This view is restricted to users with the 'add_capital' permission. .. py:method:: get_context_data(**kwargs) Get the context data of the view. :noindex: :param \*\*kwargs: Arbitrary keyword arguments. :returns: The context data of the view. :rtype: dict .. py:attribute:: form_class .. py:attribute:: model .. py:attribute:: permission_required :value: 'core.add_capital' .. py:attribute:: template_name :value: 'general/polity_succeeding_entity/polity_succeeding_entity_update.html' .. py:class:: Polity_supracultural_entityCreate Bases: :py:obj:`django.contrib.auth.mixins.PermissionRequiredMixin`, :py:obj:`seshat.apps.general.mixins.PolityIdMixin`, :py:obj:`django.views.generic.edit.CreateView` View for creating a new Polity_supracultural_entity. .. note:: This view is restricted to users with the 'add_capital' permission. .. py:method:: get_absolute_url() Get the absolute URL of the view. :returns: The absolute URL of the view. :rtype: str .. py:method:: get_context_data(**kwargs) Get the context data of the view. :noindex: :param \*\*kwargs: Arbitrary keyword arguments. :returns: The context data of the view. :rtype: dict .. py:attribute:: form_class .. py:attribute:: model .. py:attribute:: permission_required :value: 'core.add_capital' .. py:attribute:: template_name :value: 'general/polity_supracultural_entity/polity_supracultural_entity_form.html' .. py:class:: Polity_supracultural_entityDelete Bases: :py:obj:`django.contrib.auth.mixins.PermissionRequiredMixin`, :py:obj:`django.views.generic.edit.DeleteView` View for deleting an existing Polity_supracultural_entity. .. note:: This view is restricted to users with the 'add_capital' permission. .. py:attribute:: model .. py:attribute:: permission_required :value: 'core.add_capital' .. py:attribute:: success_url .. py:attribute:: template_name :value: 'core/delete_general.html' .. py:class:: Polity_supracultural_entityDetailView Bases: :py:obj:`django.views.generic.DetailView` View for displaying a single Polity_supracultural_entity instance. .. py:attribute:: model .. py:attribute:: template_name :value: 'general/polity_supracultural_entity/polity_supracultural_entity_detail.html' .. py:class:: Polity_supracultural_entityListView Bases: :py:obj:`django.views.generic.ListView` Paginated view for listing all Polity_supracultural_entity instances. .. py:method:: get_absolute_url() Get the absolute URL of the view. :returns: The absolute URL of the view. :rtype: str .. py:method:: get_context_data(**kwargs) Get the context data of the view. :noindex: :param \*\*kwargs: Arbitrary keyword arguments. :returns: The context data of the view. :rtype: dict .. py:attribute:: model .. py:attribute:: paginate_by :value: 10 .. py:attribute:: template_name :value: 'general/polity_supracultural_entity/polity_supracultural_entity_list.html' .. py:class:: Polity_supracultural_entityListViewAll Bases: :py:obj:`django.views.generic.ListView` View for listing all Polity_supracultural_entity instances. .. py:method:: get_absolute_url() Get the absolute URL of the view. :returns: The absolute URL of the view. :rtype: str .. py:method:: get_context_data(**kwargs) Get the context data of the view. :noindex: :param \*\*kwargs: Arbitrary keyword arguments. :returns: The context data of the view. :rtype: dict .. py:method:: get_queryset() Get the queryset of Polity_supracultural_entity instances. :returns: The queryset of Polity_supracultural_entity instances. :rtype: QuerySet .. py:attribute:: model .. py:attribute:: template_name :value: 'general/polity_supracultural_entity/polity_supracultural_entity_list_all.html' .. py:class:: Polity_supracultural_entityUpdate Bases: :py:obj:`django.contrib.auth.mixins.PermissionRequiredMixin`, :py:obj:`django.views.generic.edit.UpdateView` View for updating an existing Polity_supracultural_entity. .. note:: This view is restricted to users with the 'add_capital' permission. .. py:method:: get_context_data(**kwargs) Get the context data of the view. :noindex: :param \*\*kwargs: Arbitrary keyword arguments. :returns: The context data of the view. :rtype: dict .. py:attribute:: form_class .. py:attribute:: model .. py:attribute:: permission_required :value: 'core.add_capital' .. py:attribute:: template_name :value: 'general/polity_supracultural_entity/polity_supracultural_entity_update.html' .. py:class:: Polity_suprapolity_relationsCreate Bases: :py:obj:`django.contrib.auth.mixins.PermissionRequiredMixin`, :py:obj:`seshat.apps.general.mixins.PolityIdMixin`, :py:obj:`django.views.generic.edit.CreateView` View for creating a new Polity_suprapolity_relations. .. note:: This view is restricted to users with the 'add_capital' permission. .. py:method:: get_absolute_url() Get the absolute URL of the view. :returns: The absolute URL of the view. :rtype: str .. py:method:: get_context_data(**kwargs) Get the context data of the view. :noindex: :param \*\*kwargs: Arbitrary keyword arguments. :returns: The context data of the view. :rtype: dict .. py:method:: get_form(form_class=None) Get the form of the view. Sort the choices of the supra_polity_relations field. :param form_class: The form class. Defaults to None. :returns: The form of the view. :rtype: Form .. py:attribute:: form_class .. py:attribute:: model .. py:attribute:: permission_required :value: 'core.add_capital' .. py:attribute:: template_name :value: 'general/polity_suprapolity_relations/polity_suprapolity_relations_form.html' .. py:class:: Polity_suprapolity_relationsDelete Bases: :py:obj:`django.contrib.auth.mixins.PermissionRequiredMixin`, :py:obj:`django.views.generic.edit.DeleteView` View for deleting an existing Polity_suprapolity_relations. .. note:: This view is restricted to users with the 'add_capital' permission. .. py:attribute:: model .. py:attribute:: permission_required :value: 'core.add_capital' .. py:attribute:: success_url .. py:attribute:: template_name :value: 'core/delete_general.html' .. py:class:: Polity_suprapolity_relationsDetailView Bases: :py:obj:`django.views.generic.DetailView` View for displaying a single Polity_suprapolity_relations instance. .. py:attribute:: model .. py:attribute:: template_name :value: 'general/polity_suprapolity_relations/polity_suprapolity_relations_detail.html' .. py:class:: Polity_suprapolity_relationsListView Bases: :py:obj:`django.views.generic.ListView` Paginated view for listing all Polity_suprapolity_relations instances. .. py:method:: get_absolute_url() Get the absolute URL of the view. :returns: The absolute URL of the view. :rtype: str .. py:method:: get_context_data(**kwargs) Get the context data of the view. :noindex: :param \*\*kwargs: Arbitrary keyword arguments. :returns: The context data of the view. :rtype: dict .. py:attribute:: model .. py:attribute:: paginate_by :value: 10 .. py:attribute:: template_name :value: 'general/polity_suprapolity_relations/polity_suprapolity_relations_list.html' .. py:class:: Polity_suprapolity_relationsListViewAll Bases: :py:obj:`django.views.generic.ListView` View for listing all Polity_suprapolity_relations instances. .. py:method:: get_absolute_url() Get the absolute URL of the view. :returns: The absolute URL of the view. :rtype: str .. py:method:: get_context_data(**kwargs) Get the context data of the view. :noindex: :param \*\*kwargs: Arbitrary keyword arguments. :returns: The context data of the view. :rtype: dict .. py:method:: get_queryset() Get the queryset of Polity_suprapolity_relations instances. :returns: The queryset of Polity_suprapolity_relations instances. :rtype: QuerySet .. py:attribute:: model .. py:attribute:: template_name :value: 'general/polity_suprapolity_relations/polity_suprapolity_relations_list_all.html' .. py:class:: Polity_suprapolity_relationsUpdate Bases: :py:obj:`django.contrib.auth.mixins.PermissionRequiredMixin`, :py:obj:`django.views.generic.edit.UpdateView` View for updating an existing Polity_suprapolity_relations. .. note:: This view is restricted to users with the 'add_capital' permission. .. py:method:: get_context_data(**kwargs) Get the context data of the view. :noindex: :param \*\*kwargs: Arbitrary keyword arguments. :returns: The context data of the view. :rtype: dict .. py:method:: get_form(form_class=None) Get the form of the view. Sort the choices of the supra_polity_relations field. :param form_class: The form class. Defaults to None. :returns: The form of the view. :rtype: Form .. py:attribute:: form_class .. py:attribute:: model .. py:attribute:: permission_required :value: 'core.add_capital' .. py:attribute:: template_name :value: 'general/polity_suprapolity_relations/polity_suprapolity_relations_update.html' .. py:class:: Polity_utm_zoneCreate Bases: :py:obj:`django.contrib.auth.mixins.PermissionRequiredMixin`, :py:obj:`seshat.apps.general.mixins.PolityIdMixin`, :py:obj:`django.views.generic.edit.CreateView` View for creating a new Polity_utm_zone. .. note:: This view is restricted to users with the 'add_capital' permission. .. py:method:: get_absolute_url() Get the absolute URL of the view. :returns: The absolute URL of the view. :rtype: str .. py:method:: get_context_data(**kwargs) Get the context data of the view. :noindex: :param \*\*kwargs: Arbitrary keyword arguments. :returns: The context data of the view. :rtype: dict .. py:attribute:: form_class .. py:attribute:: model .. py:attribute:: permission_required :value: 'core.add_capital' .. py:attribute:: template_name :value: 'general/polity_utm_zone/polity_utm_zone_form.html' .. py:class:: Polity_utm_zoneDelete Bases: :py:obj:`django.contrib.auth.mixins.PermissionRequiredMixin`, :py:obj:`django.views.generic.edit.DeleteView` View for deleting an existing Polity_utm_zone. .. note:: This view is restricted to users with the 'add_capital' permission. .. py:attribute:: model .. py:attribute:: permission_required :value: 'core.add_capital' .. py:attribute:: success_url .. py:attribute:: template_name :value: 'core/delete_general.html' .. py:class:: Polity_utm_zoneDetailView Bases: :py:obj:`django.views.generic.DetailView` View for displaying a single Polity_utm_zone instance. .. py:attribute:: model .. py:attribute:: template_name :value: 'general/polity_utm_zone/polity_utm_zone_detail.html' .. py:class:: Polity_utm_zoneListView Bases: :py:obj:`django.views.generic.ListView` Paginated view for listing all Polity_utm_zone instances. .. py:method:: get_absolute_url() Get the absolute URL of the view. :returns: The absolute URL of the view. :rtype: str .. py:method:: get_context_data(**kwargs) Get the context data of the view. :noindex: :param \*\*kwargs: Arbitrary keyword arguments. :returns: The context data of the view. :rtype: dict .. py:attribute:: model .. py:attribute:: paginate_by :value: 10 .. py:attribute:: template_name :value: 'general/polity_utm_zone/polity_utm_zone_list.html' .. py:class:: Polity_utm_zoneListViewAll Bases: :py:obj:`django.views.generic.ListView` View for listing all Polity_utm_zone instances. .. py:method:: get_absolute_url() Get the absolute URL of the view. :returns: The absolute URL of the view. :rtype: str .. py:method:: get_context_data(**kwargs) Get the context data of the view. :noindex: :param \*\*kwargs: Arbitrary keyword arguments. :returns: The context data of the view. :rtype: dict .. py:method:: get_queryset() Get the queryset of Polity_utm_zone instances. :returns: The queryset of Polity_utm_zone instances. :rtype: QuerySet .. py:attribute:: model .. py:attribute:: template_name :value: 'general/polity_utm_zone/polity_utm_zone_list_all.html' .. py:class:: Polity_utm_zoneUpdate Bases: :py:obj:`django.contrib.auth.mixins.PermissionRequiredMixin`, :py:obj:`django.views.generic.edit.UpdateView` View for updating an existing Polity_utm_zone. .. note:: This view is restricted to users with the 'add_capital' permission. .. py:method:: get_context_data(**kwargs) Get the context data of the view. :noindex: :param \*\*kwargs: Arbitrary keyword arguments. :returns: The context data of the view. :rtype: dict .. py:attribute:: form_class .. py:attribute:: model .. py:attribute:: permission_required :value: 'core.add_capital' .. py:attribute:: template_name :value: 'general/polity_utm_zone/polity_utm_zone_update.html' .. py:function:: confirm_delete_view(request, model_class, pk, var_name) .. py:function:: delete_object_view(request, model_class, pk, var_name) .. py:function:: download_csv_all_general(request) Download a CSV file of all general variables. This includes all models in the "general" app. .. note:: This view is restricted to users with the 'view_capital' permission. :param request: The request object. :returns: The response object. :rtype: HttpResponse .. py:function:: dynamic_create_view(request, form_class, x_name, coded_value, myvar, my_exp, var_section, var_subsection) .. py:function:: dynamic_detail_view(request, pk, model_class, myvar, var_name_display, var_section, var_subsection) .. py:function:: dynamic_update_view(request, object_id, form_class, model_class, x_name, coded_value, myvar, my_exp, var_section, var_subsection, delete_url_name) .. py:function:: dynamic_update_view_old(request, object_id, form_class, model_class, x_name, coded_value, myvar, my_exp, var_section, var_subsection, delete_url_name) .. py:function:: generalvars(request) .. py:function:: generalvarsold(request) .. py:function:: generic_download(request, model_class, var_name) .. py:function:: generic_list_view(request, model_class, var_name, coded_value, var_name_display, var_section, var_subsection, var_main_desc) .. py:function:: generic_metadata_download(request, var_name, var_name_display, var_section, var_subsection, var_main_desc) .. py:function:: has_add_capital_permission(user) .. py:function:: polity_alternate_religion_download(request) Download a CSV file of all Polity_alternate_religion instances. .. note:: This view is restricted to users with the 'view_capital' permission. :param request: The request object. :returns: The response object. :rtype: HttpResponse .. py:function:: polity_alternate_religion_family_download(request) Download a CSV file of all Polity_alternate_religion_family instances. .. note:: This view is restricted to users with the 'view_capital' permission. :param request: The request object. :returns: The response object. :rtype: HttpResponse .. py:function:: polity_alternate_religion_family_meta_download(request) Download a CSV file of the meta data for Polity_alternate_religion_family instances. .. note:: This view is restricted to users with the 'view_capital' permission. :param request: The request object. :returns: The response object. :rtype: HttpResponse .. py:function:: polity_alternate_religion_genus_download(request) Download a CSV file of all Polity_alternate_religion_genus instances. .. note:: This view is restricted to users with the 'view_capital' permission. :param request: The request object. :returns: The response object. :rtype: HttpResponse .. py:function:: polity_alternate_religion_genus_meta_download(request) Download a CSV file of the meta data for Polity_alternate_religion_genus instances. .. note:: This view is restricted to users with the 'view_capital' permission. :param request: The request object. :returns: The response object. :rtype: HttpResponse .. py:function:: polity_alternate_religion_meta_download(request) Download a CSV file of the meta data for Polity_alternate_religion instances. .. note:: This view is restricted to users with the 'view_capital' permission. :param request: The request object. :returns: The response object. :rtype: HttpResponse .. py:function:: polity_alternative_name_download(request) Download a CSV file of all Polity_alternative_name instances. .. note:: This view is restricted to users with the 'view_capital' permission. :param request: The request object. :returns: The response object. :rtype: HttpResponse .. py:function:: polity_alternative_name_meta_download(request) Download a CSV file of the meta data for Polity_alternative_name instances. .. note:: This view is restricted to users with the 'view_capital' permission. :param request: The request object. :returns: The response object. :rtype: HttpResponse .. py:function:: polity_capital_download(request) Download a CSV file of all Polity_capital instances. .. note:: This view is restricted to users with the 'view_capital' permission. :param request: The request object. :returns: The response object. :rtype: HttpResponse .. py:function:: polity_capital_meta_download(request) Download a CSV file of the meta data for Polity_capital instances. .. note:: This view is restricted to users with the 'view_capital' permission. :param request: The request object. :returns: The response object. :rtype: HttpResponse .. py:function:: polity_degree_of_centralization_download(request) Download a CSV file of all Polity_degree_of_centralization instances. .. note:: This view is restricted to users with the 'view_capital' permission. :param request: The request object. :returns: The response object. :rtype: HttpResponse .. py:function:: polity_degree_of_centralization_meta_download(request) Download a CSV file of the meta data for Polity_degree_of_centralization instances. .. note:: This view is restricted to users with the 'view_capital' permission. :param request: The request object. :returns: The response object. :rtype: HttpResponse .. py:function:: polity_duration_download(request) Download a CSV file of all Polity_duration instances. .. note:: This view is restricted to users with the 'view_capital' permission. :param request: The request object. :returns: The response object. :rtype: HttpResponse .. py:function:: polity_duration_meta_download(request) Download a CSV file of the meta data for Polity_duration instances. .. note:: This view is restricted to users with the 'view_capital' permission. :param request: The request object. :returns: The response object. :rtype: HttpResponse .. py:function:: polity_editor_download(request) Download a CSV file of all Polity_editor instances. .. note:: This view is restricted to users with the 'view_capital' permission. :param request: The request object. :returns: The response object. :rtype: HttpResponse .. py:function:: polity_editor_meta_download(request) Download a CSV file of the meta data for Polity_editor instances. .. note:: This view is restricted to users with the 'view_capital' permission. :param request: The request object. :returns: The response object. :rtype: HttpResponse .. py:function:: polity_expert_download(request) Download a CSV file of all Polity_expert instances. .. note:: This view is restricted to users with the 'view_capital' permission. :param request: The request object. :returns: The response object. :rtype: HttpResponse .. py:function:: polity_expert_meta_download(request) Download a CSV file of the meta data for Polity_expert instances. .. note:: This view is restricted to users with the 'view_capital' permission. :param request: The request object. :returns: The response object. :rtype: HttpResponse .. py:function:: polity_language_download(request) Download a CSV file of all Polity_language instances. .. note:: This view is restricted to users with the 'view_capital' permission. :param request: The request object. :returns: The response object. :rtype: HttpResponse .. py:function:: polity_language_genus_download(request) Download a CSV file of all Polity_language_genus instances. .. note:: This view is restricted to users with the 'view_capital' permission. :param request: The request object. :returns: The response object. :rtype: HttpResponse .. py:function:: polity_language_genus_meta_download(request) Download a CSV file of the meta data for Polity_language_genus instances. .. note:: This view is restricted to users with the 'view_capital' permission. :param request: The request object. :returns: The response object. :rtype: HttpResponse .. py:function:: polity_language_meta_download(request) Download a CSV file of the meta data for Polity_language instances. .. note:: This view is restricted to users with the 'view_capital' permission. :param request: The request object. :returns: The response object. :rtype: HttpResponse .. py:function:: polity_linguistic_family_download(request) Download a CSV file of all Polity_linguistic_family instances. .. note:: This view is restricted to users with the 'view_capital' permission. :param request: The request object. :returns: The response object. :rtype: HttpResponse .. py:function:: polity_linguistic_family_meta_download(request) Download a CSV file of the meta data for Polity_linguistic_family instances. .. note:: This view is restricted to users with the 'view_capital' permission. :param request: The request object. :returns: The response object. :rtype: HttpResponse .. py:function:: polity_original_name_download(request) Download a CSV file of all Polity_original_name instances. .. note:: This view is restricted to users with the 'view_capital' permission. :param request: The request object. :returns: The response object. :rtype: HttpResponse .. py:function:: polity_original_name_meta_download(request) Download a CSV file of the meta data for Polity_original_name instances. .. note:: This view is restricted to users with the 'view_capital' permission. :param request: The request object. :returns: The response object. :rtype: HttpResponse .. py:function:: polity_peak_years_download(request) Download a CSV file of all Polity_peak_years instances. .. note:: This view is restricted to users with the 'view_capital' permission. :param request: The request object. :returns: The response object. :rtype: HttpResponse .. py:function:: polity_peak_years_meta_download(request) Download a CSV file of the meta data for Polity_peak_years instances. .. note:: This view is restricted to users with the 'view_capital' permission. :param request: The request object. :returns: The response object. :rtype: HttpResponse .. py:function:: polity_preceding_entity_download(request) Download a CSV file of all Polity_preceding_entity instances. .. note:: This view is restricted to users with the 'view_capital' permission. :param request: The request object. :returns: The response object. :rtype: HttpResponse .. py:function:: polity_preceding_entity_meta_download(request) Download a CSV file of the meta data for Polity_preceding_entity instances. .. note:: This view is restricted to users with the 'view_capital' permission. :param request: The request object. :returns: The response object. :rtype: HttpResponse .. py:function:: polity_relationship_to_preceding_entity_download(request) Download a CSV file of all Polity_relationship_to_preceding_entity instances. .. note:: This view is restricted to users with the 'view_capital' permission. :param request: The request object. :returns: The response object. :rtype: HttpResponse .. py:function:: polity_relationship_to_preceding_entity_meta_download(request) Download a CSV file of the meta data for Polity_relationship_to_preceding_entity instances. .. note:: This view is restricted to users with the 'view_capital' permission. :param request: The request object. :returns: The response object. :rtype: HttpResponse .. py:function:: polity_religion_download(request) Download a CSV file of all Polity_religion instances. .. note:: This view is restricted to users with the 'view_capital' permission. :param request: The request object. :returns: The response object. :rtype: HttpResponse .. py:function:: polity_religion_family_download(request) Download a CSV file of all Polity_religion_family instances. .. note:: This view is restricted to users with the 'view_capital' permission. :param request: The request object. :returns: The response object. :rtype: HttpResponse .. py:function:: polity_religion_family_meta_download(request) Download a CSV file of the meta data for Polity_religion_family instances. .. note:: This view is restricted to users with the 'view_capital' permission. :param request: The request object. :returns: The response object. :rtype: HttpResponse .. py:function:: polity_religion_genus_download(request) Download a CSV file of all Polity_religion_genus instances. .. note:: This view is restricted to users with the 'view_capital' permission. :param request: The request object. :returns: The response object. :rtype: HttpResponse .. py:function:: polity_religion_genus_meta_download(request) Download a CSV file of the meta data for Polity_religion_genus instances. .. note:: This view is restricted to users with the 'view_capital' permission. :param request: The request object. :returns: The response object. :rtype: HttpResponse .. py:function:: polity_religion_meta_download(request) Download a CSV file of the meta data for Polity_religion instances. .. note:: This view is restricted to users with the 'view_capital' permission. :param request: The request object. :returns: The response object. :rtype: HttpResponse .. py:function:: polity_religious_tradition_download(request) Download a CSV file of all Polity_religious_tradition instances. .. note:: This view is restricted to users with the 'view_capital' permission. :param request: The request object. :returns: The response object. :rtype: HttpResponse .. py:function:: polity_religious_tradition_meta_download(request) Download a CSV file of the meta data for Polity_religious_tradition instances. .. note:: This view is restricted to users with the 'view_capital' permission. :param request: The request object. :returns: The response object. :rtype: HttpResponse .. py:function:: polity_research_assistant_download(request) Download a CSV file of all Polity_research_assistant instances. .. note:: This view is restricted to users with the 'view_capital' permission. :param request: The request object. :returns: The response object. :rtype: HttpResponse .. py:function:: polity_research_assistant_meta_download(request) Download a CSV file of the meta data for Polity_research_assistant instances. .. note:: This view is restricted to users with the 'view_capital' permission. :param request: The request object. :returns: The response object. :rtype: HttpResponse .. py:function:: polity_scale_of_supracultural_interaction_download(request) Download a CSV file of all Polity_scale_of_supracultural_interaction instances. .. note:: This view is restricted to users with the 'view_capital' permission. :param request: The request object. :returns: The response object. :rtype: HttpResponse .. py:function:: polity_scale_of_supracultural_interaction_meta_download(request) Download a CSV file of the meta data for Polity_scale_of_supracultural_interaction instances. .. note:: This view is restricted to users with the 'view_capital' permission. :param request: The request object. :returns: The response object. :rtype: HttpResponse .. py:function:: polity_succeeding_entity_download(request) Download a CSV file of all Polity_succeeding_entity instances. .. note:: This view is restricted to users with the 'view_capital' permission. :param request: The request object. :returns: The response object. :rtype: HttpResponse .. py:function:: polity_succeeding_entity_meta_download(request) Download a CSV file of the meta data for Polity_succeeding_entity instances. .. note:: This view is restricted to users with the 'view_capital' permission. :param request: The request object. :returns: The response object. :rtype: HttpResponse .. py:function:: polity_supracultural_entity_download(request) Download a CSV file of all Polity_supracultural_entity instances. .. note:: This view is restricted to users with the 'view_capital' permission. :param request: The request object. :returns: The response object. :rtype: HttpResponse .. py:function:: polity_supracultural_entity_meta_download(request) Download a CSV file of the meta data for Polity_supracultural_entity instances. .. note:: This view is restricted to users with the 'view_capital' permission. :param request: The request object. :returns: The response object. :rtype: HttpResponse .. py:function:: polity_suprapolity_relations_download(request) Download a CSV file of all Polity_suprapolity_relations instances. .. note:: This view is restricted to users with the 'view_capital' permission. :param request: The request object. :returns: The response object. :rtype: HttpResponse .. py:function:: polity_suprapolity_relations_meta_download(request) Download a CSV file of the meta data for Polity_suprapolity_relations instances. .. note:: This view is restricted to users with the 'view_capital' permission. :param request: The request object. :returns: The response object. :rtype: HttpResponse .. py:function:: polity_utm_zone_download(request) Download a CSV file of all Polity_utm_zone instances. .. note:: This view is restricted to users with the 'view_capital' permission. :param request: The request object. :returns: The response object. :rtype: HttpResponse .. py:function:: polity_utm_zone_meta_download(request) Download a CSV file of the meta data for Polity_utm_zone instances. .. note:: This view is restricted to users with the 'view_capital' permission. :param request: The request object. :returns: The response object. :rtype: HttpResponse .. py:function:: send_test_email() Send a test email. :returns: None