seshat.apps.general.views

Classes

Polity_alternate_religionCreate

View for creating a new Polity_alternate_religion.

Polity_alternate_religionDelete

View for deleting an existing Polity_alternate_religion.

Polity_alternate_religionDetailView

View for displaying a single Polity_alternate_religion instance.

Polity_alternate_religionListView

Paginated view for listing all Polity_alternate_religion instances.

Polity_alternate_religionListViewAll

View for listing all Polity_alternate_religion instances.

Polity_alternate_religionUpdate

View for updating an existing Polity_alternate_religion.

Polity_alternate_religion_familyCreate

View for creating a new Polity_alternate_religion_family.

Polity_alternate_religion_familyDelete

View for deleting an existing Polity_alternate_religion_family.

Polity_alternate_religion_familyDetailView

View for displaying a single Polity_alternate_religion_family instance.

Polity_alternate_religion_familyListView

Paginated view for listing all Polity_alternate_religion_family instances.

Polity_alternate_religion_familyListViewAll

View for listing all Polity_alternate_religion_family instances.

Polity_alternate_religion_familyUpdate

View for updating an existing Polity_alternate_religion_family.

Polity_alternate_religion_genusCreate

View for creating a new Polity_alternate_religion_genus.

Polity_alternate_religion_genusDelete

View for deleting an existing Polity_alternate_religion_genus.

Polity_alternate_religion_genusDetailView

View for displaying a single Polity_alternate_religion_genus instance.

Polity_alternate_religion_genusListView

Paginated view for listing all Polity_alternate_religion_genus instances.

Polity_alternate_religion_genusListViewAll

View for listing all Polity_alternate_religion_genus instances.

Polity_alternate_religion_genusUpdate

View for updating an existing Polity_alternate_religion_genus.

Polity_alternative_nameCreate

View for creating a new Polity_alternative_name.

Polity_alternative_nameDelete

View for deleting an existing Polity_alternative_name.

Polity_alternative_nameDetailView

View for displaying a single Polity_alternative_name instance.

Polity_alternative_nameListView

Paginated view for listing all Polity_alternative_name instances.

Polity_alternative_nameListViewAll

View for listing all Polity_alternative_name instances.

Polity_alternative_nameUpdate

View for updating an existing Polity_alternative_name.

Polity_capitalCreate

View for creating a new Polity_capital.

Polity_capitalDelete

View for deleting an existing Polity_capital.

Polity_capitalDetailView

View for displaying a single Polity_capital instance.

Polity_capitalListView

Paginated view for listing all Polity_capital instances.

Polity_capitalListViewAll

View for listing all Polity_capital instances.

Polity_capitalUpdate

View for updating an existing Polity_capital.

Polity_degree_of_centralizationCreate

View for creating a new Polity_degree_of_centralization.

Polity_degree_of_centralizationDelete

View for deleting an existing Polity_degree_of_centralization.

Polity_degree_of_centralizationDetailView

View for displaying a single Polity_degree_of_centralization instance.

Polity_degree_of_centralizationListView

Paginated view for listing all Polity_degree_of_centralization instances.

Polity_degree_of_centralizationListViewAll

View for listing all Polity_degree_of_centralization instances.

Polity_degree_of_centralizationUpdate

View for updating an existing Polity_degree_of_centralization.

Polity_durationCreate

View for creating a new Polity_duration.

Polity_durationDelete

View for deleting an existing Polity_duration.

Polity_durationDetailView

View for displaying a single Polity_duration instance.

Polity_durationListView

Paginated view for listing all Polity_duration instances.

Polity_durationListViewAll

View for listing all Polity_duration instances.

Polity_durationUpdate

View for updating an existing Polity_duration.

Polity_editorCreate

View for creating a new Polity_editor.

Polity_editorDelete

View for deleting an existing Polity_editor.

Polity_editorDetailView

View for displaying a single Polity_editor instance.

Polity_editorListView

Paginated view for listing all Polity_editor instances.

Polity_editorListViewAll

View for listing all Polity_editor instances.

Polity_editorUpdate

View for updating an existing Polity_editor.

Polity_expertCreate

View for creating a new Polity_expert.

Polity_expertDelete

View for deleting an existing Polity_expert.

Polity_expertDetailView

View for displaying a single Polity_expert instance.

Polity_expertListView

Paginated view for listing all Polity_expert instances.

Polity_expertListViewAll

View for listing all Polity_expert instances.

Polity_expertUpdate

View for updating an existing Polity_expert.

Polity_languageCreate

View for creating a new Polity_language.

Polity_languageDelete

View for deleting an existing Polity_language.

Polity_languageDetailView

View for displaying a single Polity_language instance.

Polity_languageListView

Paginated view for listing all Polity_language instances.

Polity_languageListViewAll

View for listing all Polity_language instances.

Polity_languageUpdate

View for updating an existing Polity_language.

Polity_language_genusCreate

View for creating a new Polity_language_genus.

Polity_language_genusDelete

View for deleting an existing Polity_language_genus.

Polity_language_genusDetailView

View for displaying a single Polity_language_genus instance.

Polity_language_genusListView

Paginated view for listing all Polity_language_genus instances.

Polity_language_genusListViewAll

View for listing all Polity_language_genus instances.

Polity_language_genusUpdate

View for updating an existing Polity_language_genus.

Polity_linguistic_familyCreate

View for creating a new Polity_linguistic_family.

Polity_linguistic_familyDelete

View for deleting an existing Polity_linguistic_family.

Polity_linguistic_familyDetailView

View for displaying a single Polity_linguistic_family instance.

Polity_linguistic_familyListView

Paginated view for listing all Polity_linguistic_family instances.

Polity_linguistic_familyListViewAll

View for listing all Polity_linguistic_family instances.

Polity_linguistic_familyUpdate

View for updating an existing Polity_linguistic_family.

Polity_original_nameCreate

View for creating a new Polity_original_name.

Polity_original_nameDelete

View for deleting an existing Polity_original_name.

Polity_original_nameDetailView

View for displaying a single Polity_original_name instance.

Polity_original_nameListView

Paginated view for listing all Polity_original_name instances.

Polity_original_nameListViewAll

View for listing all Polity_original_name instances.

Polity_original_nameUpdate

View for updating an existing Polity_original_name.

Polity_peak_yearsCreate

View for creating a new Polity_peak_years.

Polity_peak_yearsDelete

View for deleting an existing Polity_peak_years.

Polity_peak_yearsDetailView

View for displaying a single Polity_peak_years instance.

Polity_peak_yearsListView

Paginated view for listing all Polity_peak_years instances.

Polity_peak_yearsListViewAll

View for listing all Polity_peak_years instances.

Polity_peak_yearsUpdate

View for updating an existing Polity_peak_years.

Polity_preceding_entityCreate

View for creating a new Polity_preceding_entity.

Polity_preceding_entityDelete

View for deleting an existing Polity_preceding_entity.

Polity_preceding_entityDetailView

View for displaying a single Polity_preceding_entity instance.

Polity_preceding_entityListView

Paginated view for listing all Polity_preceding_entity instances.

Polity_preceding_entityListViewAll

View for listing all Polity_preceding_entity instances.

Polity_preceding_entityUpdate

View for updating an existing Polity_preceding_entity.

Polity_relationship_to_preceding_entityCreate

View for creating a new Polity_relationship_to_preceding_entity.

Polity_relationship_to_preceding_entityDelete

View for deleting an existing Polity_relationship_to_preceding_entity.

Polity_relationship_to_preceding_entityDetailView

View for displaying a single Polity_relationship_to_preceding_entity instance.

Polity_relationship_to_preceding_entityListView

Paginated view for listing all Polity_relationship_to_preceding_entity instances.

Polity_relationship_to_preceding_entityListViewAll

View for listing all Polity_relationship_to_preceding_entity instances.

Polity_relationship_to_preceding_entityUpdate

View for updating an existing Polity_relationship_to_preceding_entity.

Polity_religionCreate

View for creating a new Polity_religion.

Polity_religionDelete

View for deleting an existing Polity_religion.

Polity_religionDetailView

View for displaying a single Polity_religion instance.

Polity_religionListView

Paginated view for listing all Polity_religion instances.

Polity_religionListViewAll

View for listing all Polity_religion instances.

Polity_religionUpdate

View for updating an existing Polity_religion.

Polity_religion_familyCreate

View for creating a new Polity_religion_family.

Polity_religion_familyDelete

View for deleting an existing Polity_religion_family.

Polity_religion_familyDetailView

View for displaying a single Polity_religion_family instance.

Polity_religion_familyListView

Paginated view for listing all Polity_religion_family instances.

Polity_religion_familyListViewAll

View for listing all Polity_religion_family instances.

Polity_religion_familyUpdate

View for updating an existing Polity_religion_family.

Polity_religion_genusCreate

View for creating a new Polity_religion_genus.

Polity_religion_genusDelete

View for deleting an existing Polity_religion_genus.

Polity_religion_genusDetailView

View for displaying a single Polity_religion_genus instance.

Polity_religion_genusListView

Paginated view for listing all Polity_religion_genus instances.

Polity_religion_genusListViewAll

View for listing all Polity_religion_genus instances.

Polity_religion_genusUpdate

View for updating an existing Polity_religion_genus.

Polity_religious_traditionCreate

View for creating a new Polity_religious_tradition.

Polity_religious_traditionDelete

View for deleting an existing Polity_religious_tradition.

Polity_religious_traditionDetailView

View for displaying a single Polity_religious_tradition instance.

Polity_religious_traditionListView

Paginated view for listing all Polity_religious_tradition instances.

Polity_religious_traditionListViewAll

View for listing all Polity_religious_tradition instances.

Polity_religious_traditionUpdate

View for updating an existing Polity_religious_tradition.

Polity_research_assistantCreate

View for creating a new Polity_research_assistant.

Polity_research_assistantDelete

View for deleting an existing Polity_research_assistant.

Polity_research_assistantDetailView

View for displaying a single Polity_research_assistant instance.

Polity_research_assistantListView

Paginated view for listing all Polity_research_assistant instances.

Polity_research_assistantListViewAll

View for listing all Polity_research_assistant instances.

Polity_research_assistantUpdate

View for updating an existing Polity_research_assistant.

Polity_scale_of_supracultural_interactionCreate

View for creating a new Polity_scale_of_supracultural_interaction.

Polity_scale_of_supracultural_interactionDelete

View for deleting an existing Polity_scale_of_supracultural_interaction.

Polity_scale_of_supracultural_interactionDetailView

View for displaying a single Polity_scale_of_supracultural_interaction instance.

Polity_scale_of_supracultural_interactionListView

Paginated view for listing all Polity_scale_of_supracultural_interaction instances.

Polity_scale_of_supracultural_interactionListViewAll

View for listing all Polity_scale_of_supracultural_interaction instances.

Polity_scale_of_supracultural_interactionUpdate

View for updating an existing Polity_scale_of_supracultural_interaction.

Polity_succeeding_entityCreate

View for creating a new Polity_succeeding_entity.

Polity_succeeding_entityDelete

View for deleting an existing Polity_succeeding_entity.

Polity_succeeding_entityDetailView

View for displaying a single Polity_succeeding_entity instance.

Polity_succeeding_entityListView

Paginated view for listing all Polity_succeeding_entity instances.

Polity_succeeding_entityListViewAll

View for listing all Polity_succeeding_entity instances.

Polity_succeeding_entityUpdate

View for updating an existing Polity_succeeding_entity.

Polity_supracultural_entityCreate

View for creating a new Polity_supracultural_entity.

Polity_supracultural_entityDelete

View for deleting an existing Polity_supracultural_entity.

Polity_supracultural_entityDetailView

View for displaying a single Polity_supracultural_entity instance.

Polity_supracultural_entityListView

Paginated view for listing all Polity_supracultural_entity instances.

Polity_supracultural_entityListViewAll

View for listing all Polity_supracultural_entity instances.

Polity_supracultural_entityUpdate

View for updating an existing Polity_supracultural_entity.

Polity_suprapolity_relationsCreate

View for creating a new Polity_suprapolity_relations.

Polity_suprapolity_relationsDelete

View for deleting an existing Polity_suprapolity_relations.

Polity_suprapolity_relationsDetailView

View for displaying a single Polity_suprapolity_relations instance.

Polity_suprapolity_relationsListView

Paginated view for listing all Polity_suprapolity_relations instances.

Polity_suprapolity_relationsListViewAll

View for listing all Polity_suprapolity_relations instances.

Polity_suprapolity_relationsUpdate

View for updating an existing Polity_suprapolity_relations.

Polity_utm_zoneCreate

View for creating a new Polity_utm_zone.

Polity_utm_zoneDelete

View for deleting an existing Polity_utm_zone.

Polity_utm_zoneDetailView

View for displaying a single Polity_utm_zone instance.

Polity_utm_zoneListView

Paginated view for listing all Polity_utm_zone instances.

Polity_utm_zoneListViewAll

View for listing all Polity_utm_zone instances.

Polity_utm_zoneUpdate

View for updating an existing Polity_utm_zone.

Functions

confirm_delete_view(request, model_class, pk, var_name)

delete_object_view(request, model_class, pk, var_name)

download_csv_all_general(request)

Download a CSV file of all general variables. This includes all models in the "general" app.

dynamic_create_view(request, form_class, x_name, ...)

dynamic_detail_view(request, pk, model_class, myvar, ...)

dynamic_update_view(request, object_id, form_class, ...)

dynamic_update_view_old(request, object_id, ...)

generalvars(request)

generalvarsold(request)

generic_download(request, model_class, var_name)

generic_list_view(request, model_class, var_name, ...)

generic_metadata_download(request, var_name, ...)

has_add_capital_permission(user)

polity_alternate_religion_download(request)

Download a CSV file of all Polity_alternate_religion instances.

polity_alternate_religion_family_download(request)

Download a CSV file of all Polity_alternate_religion_family instances.

polity_alternate_religion_family_meta_download(request)

Download a CSV file of the meta data for Polity_alternate_religion_family instances.

polity_alternate_religion_genus_download(request)

Download a CSV file of all Polity_alternate_religion_genus instances.

polity_alternate_religion_genus_meta_download(request)

Download a CSV file of the meta data for Polity_alternate_religion_genus instances.

polity_alternate_religion_meta_download(request)

Download a CSV file of the meta data for Polity_alternate_religion instances.

polity_alternative_name_download(request)

Download a CSV file of all Polity_alternative_name instances.

polity_alternative_name_meta_download(request)

Download a CSV file of the meta data for Polity_alternative_name instances.

polity_capital_download(request)

Download a CSV file of all Polity_capital instances.

polity_capital_meta_download(request)

Download a CSV file of the meta data for Polity_capital instances.

polity_degree_of_centralization_download(request)

Download a CSV file of all Polity_degree_of_centralization instances.

polity_degree_of_centralization_meta_download(request)

Download a CSV file of the meta data for Polity_degree_of_centralization instances.

polity_duration_download(request)

Download a CSV file of all Polity_duration instances.

polity_duration_meta_download(request)

Download a CSV file of the meta data for Polity_duration instances.

polity_editor_download(request)

Download a CSV file of all Polity_editor instances.

polity_editor_meta_download(request)

Download a CSV file of the meta data for Polity_editor instances.

polity_expert_download(request)

Download a CSV file of all Polity_expert instances.

polity_expert_meta_download(request)

Download a CSV file of the meta data for Polity_expert instances.

polity_language_download(request)

Download a CSV file of all Polity_language instances.

polity_language_genus_download(request)

Download a CSV file of all Polity_language_genus instances.

polity_language_genus_meta_download(request)

Download a CSV file of the meta data for Polity_language_genus instances.

polity_language_meta_download(request)

Download a CSV file of the meta data for Polity_language instances.

polity_linguistic_family_download(request)

Download a CSV file of all Polity_linguistic_family instances.

polity_linguistic_family_meta_download(request)

Download a CSV file of the meta data for Polity_linguistic_family instances.

polity_original_name_download(request)

Download a CSV file of all Polity_original_name instances.

polity_original_name_meta_download(request)

Download a CSV file of the meta data for Polity_original_name instances.

polity_peak_years_download(request)

Download a CSV file of all Polity_peak_years instances.

polity_peak_years_meta_download(request)

Download a CSV file of the meta data for Polity_peak_years instances.

polity_preceding_entity_download(request)

Download a CSV file of all Polity_preceding_entity instances.

polity_preceding_entity_meta_download(request)

Download a CSV file of the meta data for Polity_preceding_entity instances.

polity_relationship_to_preceding_entity_download(request)

Download a CSV file of all Polity_relationship_to_preceding_entity instances.

polity_relationship_to_preceding_entity_meta_download(request)

Download a CSV file of the meta data for Polity_relationship_to_preceding_entity instances.

polity_religion_download(request)

Download a CSV file of all Polity_religion instances.

polity_religion_family_download(request)

Download a CSV file of all Polity_religion_family instances.

polity_religion_family_meta_download(request)

Download a CSV file of the meta data for Polity_religion_family instances.

polity_religion_genus_download(request)

Download a CSV file of all Polity_religion_genus instances.

polity_religion_genus_meta_download(request)

Download a CSV file of the meta data for Polity_religion_genus instances.

polity_religion_meta_download(request)

Download a CSV file of the meta data for Polity_religion instances.

polity_religious_tradition_download(request)

Download a CSV file of all Polity_religious_tradition instances.

polity_religious_tradition_meta_download(request)

Download a CSV file of the meta data for Polity_religious_tradition instances.

polity_research_assistant_download(request)

Download a CSV file of all Polity_research_assistant instances.

polity_research_assistant_meta_download(request)

Download a CSV file of the meta data for Polity_research_assistant instances.

polity_scale_of_supracultural_interaction_download(request)

Download a CSV file of all Polity_scale_of_supracultural_interaction instances.

polity_scale_of_supracultural_interaction_meta_download(request)

Download a CSV file of the meta data for Polity_scale_of_supracultural_interaction instances.

polity_succeeding_entity_download(request)

Download a CSV file of all Polity_succeeding_entity instances.

polity_succeeding_entity_meta_download(request)

Download a CSV file of the meta data for Polity_succeeding_entity instances.

polity_supracultural_entity_download(request)

Download a CSV file of all Polity_supracultural_entity instances.

polity_supracultural_entity_meta_download(request)

Download a CSV file of the meta data for Polity_supracultural_entity instances.

polity_suprapolity_relations_download(request)

Download a CSV file of all Polity_suprapolity_relations instances.

polity_suprapolity_relations_meta_download(request)

Download a CSV file of the meta data for Polity_suprapolity_relations instances.

polity_utm_zone_download(request)

Download a CSV file of all Polity_utm_zone instances.

polity_utm_zone_meta_download(request)

Download a CSV file of the meta data for Polity_utm_zone instances.

send_test_email()

Send a test email.

Module Contents

class seshat.apps.general.views.Polity_alternate_religionCreate

Bases: django.contrib.auth.mixins.PermissionRequiredMixin, seshat.apps.general.mixins.PolityIdMixin, 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.

get_absolute_url()

Get the absolute URL of the view.

Returns:

The absolute URL of the view.

Return type:

str

get_context_data(**kwargs)

Get the context data of the view.

Noindex:

Parameters:

**kwargs – Arbitrary keyword arguments.

Returns:

The context data of the view.

Return type:

dict

get_form(form_class=None)

Get the form of the view. Sort the choices of the ‘alternate_religion’ field.

Parameters:

form_class – The form class. Defaults to None.

Returns:

The form of the view.

Return type:

Form

form_class
model
permission_required = 'core.add_capital'
template_name = 'general/polity_alternate_religion/polity_alternate_religion_form.html'
class seshat.apps.general.views.Polity_alternate_religionDelete

Bases: django.contrib.auth.mixins.PermissionRequiredMixin, 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.

model
permission_required = 'core.add_capital'
success_url
template_name = 'core/delete_general.html'
class seshat.apps.general.views.Polity_alternate_religionDetailView

Bases: django.views.generic.DetailView

View for displaying a single Polity_alternate_religion instance.

model
template_name = 'general/polity_alternate_religion/polity_alternate_religion_detail.html'
class seshat.apps.general.views.Polity_alternate_religionListView

Bases: django.views.generic.ListView

Paginated view for listing all Polity_alternate_religion instances.

get_absolute_url()

Get the absolute URL of the view.

Returns:

The absolute URL of the view.

Return type:

str

get_context_data(**kwargs)

Get the context data of the view.

Noindex:

Parameters:

**kwargs – Arbitrary keyword arguments.

Returns:

The context data of the view.

Return type:

dict

model
paginate_by = 10
template_name = 'general/polity_alternate_religion/polity_alternate_religion_list.html'
class seshat.apps.general.views.Polity_alternate_religionListViewAll

Bases: django.views.generic.ListView

View for listing all Polity_alternate_religion instances.

get_absolute_url()

Get the absolute URL of the view.

Returns:

The absolute URL of the view.

Return type:

str

get_context_data(**kwargs)

Get the context data of the view.

Noindex:

Parameters:

**kwargs – Arbitrary keyword arguments.

Returns:

The context data of the view.

Return type:

dict

get_queryset()

Get the queryset of Polity_alternate_religion instances.

Returns:

The queryset of Polity_alternate_religion instances.

Return type:

QuerySet

model
template_name = 'general/polity_alternate_religion/polity_alternate_religion_list_all.html'
class seshat.apps.general.views.Polity_alternate_religionUpdate

Bases: django.contrib.auth.mixins.PermissionRequiredMixin, 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.

get_context_data(**kwargs)

Get the context data of the view.

Noindex:

Parameters:

**kwargs – Arbitrary keyword arguments.

Returns:

The context data of the view.

Return type:

dict

get_form(form_class=None)

Get the form of the view. Sort the choices of the ‘alternate_religion’ field.

Parameters:

form_class – The form class. Defaults to None.

Returns:

The form of the view.

Return type:

Form

form_class
model
permission_required = 'core.add_capital'
template_name = 'general/polity_alternate_religion/polity_alternate_religion_update.html'
class seshat.apps.general.views.Polity_alternate_religion_familyCreate

Bases: django.contrib.auth.mixins.PermissionRequiredMixin, seshat.apps.general.mixins.PolityIdMixin, 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.

get_absolute_url()

Get the absolute URL of the view.

Returns:

The absolute URL of the view.

Return type:

str

get_context_data(**kwargs)

Get the context data of the view.

Noindex:

Parameters:

**kwargs – Arbitrary keyword arguments.

Returns:

The context data of the view.

Return type:

dict

get_form(form_class=None)

Get the form of the view. Sort the choices of the ‘alternate_religion_family’ field.

Parameters:

form_class – The form class. Defaults to None.

Returns:

The form of the view.

Return type:

Form

form_class
model
permission_required = 'core.add_capital'
template_name = 'general/polity_alternate_religion_family/polity_alternate_religion_family_form.html'
class seshat.apps.general.views.Polity_alternate_religion_familyDelete

Bases: django.contrib.auth.mixins.PermissionRequiredMixin, 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.

model
permission_required = 'core.add_capital'
success_url
template_name = 'core/delete_general.html'
class seshat.apps.general.views.Polity_alternate_religion_familyDetailView

Bases: django.views.generic.DetailView

View for displaying a single Polity_alternate_religion_family instance.

model
template_name = 'general/polity_alternate_religion_family/polity_alternate_religion_family_detail.html'
class seshat.apps.general.views.Polity_alternate_religion_familyListView

Bases: django.views.generic.ListView

Paginated view for listing all Polity_alternate_religion_family instances.

get_absolute_url()

Get the absolute URL of the view.

Returns:

The absolute URL of the view.

Return type:

str

get_context_data(**kwargs)

Get the context data of the view.

Noindex:

Parameters:

**kwargs – Arbitrary keyword arguments.

Returns:

The context data of the view.

Return type:

dict

model
paginate_by = 10
template_name = 'general/polity_alternate_religion_family/polity_alternate_religion_family_list.html'
class seshat.apps.general.views.Polity_alternate_religion_familyListViewAll

Bases: django.views.generic.ListView

View for listing all Polity_alternate_religion_family instances.

get_absolute_url()

Get the absolute URL of the view.

Returns:

The absolute URL of the view.

Return type:

str

get_context_data(**kwargs)

Get the context data of the view.

Noindex:

Parameters:

**kwargs – Arbitrary keyword arguments.

Returns:

The context data of the view.

Return type:

dict

get_queryset()

Get the queryset of Polity_alternate_religion_family instances.

Returns:

The queryset of Polity_alternate_religion_family instances.

Return type:

QuerySet

model
template_name = 'general/polity_alternate_religion_family/polity_alternate_religion_family_list_all.html'
class seshat.apps.general.views.Polity_alternate_religion_familyUpdate

Bases: django.contrib.auth.mixins.PermissionRequiredMixin, 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.

get_context_data(**kwargs)

Get the context data of the view.

Noindex:

Parameters:

**kwargs – Arbitrary keyword arguments.

Returns:

The context data of the view.

Return type:

dict

get_form(form_class=None)

Get the form of the view. Sort the choices of the ‘alternate_religion_family’ field.

Parameters:

form_class – The form class. Defaults to None.

Returns:

The form of the view.

Return type:

Form

form_class
model
permission_required = 'core.add_capital'
template_name = 'general/polity_alternate_religion_family/polity_alternate_religion_family_update.html'
class seshat.apps.general.views.Polity_alternate_religion_genusCreate

Bases: django.contrib.auth.mixins.PermissionRequiredMixin, seshat.apps.general.mixins.PolityIdMixin, 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.

get_absolute_url()

Get the absolute URL of the view.

Returns:

The absolute URL of the view.

Return type:

str

get_context_data(**kwargs)

Get the context data of the view.

Noindex:

Parameters:

**kwargs – Arbitrary keyword arguments.

Returns:

The context data of the view.

Return type:

dict

get_form(form_class=None)

Get the form of the view. Sort the choices of the ‘alternate_religion_genus’ field.

Parameters:

form_class – The form class. Defaults to None.

Returns:

The form of the view.

Return type:

Form

form_class
model
permission_required = 'core.add_capital'
template_name = 'general/polity_alternate_religion_genus/polity_alternate_religion_genus_form.html'
class seshat.apps.general.views.Polity_alternate_religion_genusDelete

Bases: django.contrib.auth.mixins.PermissionRequiredMixin, 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.

model
permission_required = 'core.add_capital'
success_url
template_name = 'core/delete_general.html'
class seshat.apps.general.views.Polity_alternate_religion_genusDetailView

Bases: django.views.generic.DetailView

View for displaying a single Polity_alternate_religion_genus instance.

model
template_name = 'general/polity_alternate_religion_genus/polity_alternate_religion_genus_detail.html'
class seshat.apps.general.views.Polity_alternate_religion_genusListView

Bases: django.views.generic.ListView

Paginated view for listing all Polity_alternate_religion_genus instances.

get_absolute_url()

Get the absolute URL of the view.

Returns:

The absolute URL of the view.

Return type:

str

get_context_data(**kwargs)

Get the context data of the view.

Noindex:

Parameters:

**kwargs – Arbitrary keyword arguments.

Returns:

The context data of the view.

Return type:

dict

model
paginate_by = 10
template_name = 'general/polity_alternate_religion_genus/polity_alternate_religion_genus_list.html'
class seshat.apps.general.views.Polity_alternate_religion_genusListViewAll

Bases: django.views.generic.ListView

View for listing all Polity_alternate_religion_genus instances.

get_absolute_url()

Get the absolute URL of the view.

Returns:

The absolute URL of the view.

Return type:

str

get_context_data(**kwargs)

Get the context data of the view.

Noindex:

Parameters:

**kwargs – Arbitrary keyword arguments.

Returns:

The context data of the view.

Return type:

dict

get_queryset()

Get the queryset of Polity_alternate_religion_genus instances.

Returns:

The queryset of Polity_alternate_religion_genus instances.

Return type:

QuerySet

model
template_name = 'general/polity_alternate_religion_genus/polity_alternate_religion_genus_list_all.html'
class seshat.apps.general.views.Polity_alternate_religion_genusUpdate

Bases: django.contrib.auth.mixins.PermissionRequiredMixin, 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.

get_context_data(**kwargs)

Get the context data of the view.

Noindex:

Parameters:

**kwargs – Arbitrary keyword arguments.

Returns:

The context data of the view.

Return type:

dict

get_form(form_class=None)

Get the form of the view. Sort the choices of the ‘alternate_religion_genus’ field.

Parameters:

form_class – The form class. Defaults to None.

Returns:

The form of the view.

Return type:

Form

form_class
model
permission_required = 'core.add_capital'
template_name = 'general/polity_alternate_religion_genus/polity_alternate_religion_genus_update.html'
class seshat.apps.general.views.Polity_alternative_nameCreate

Bases: django.contrib.auth.mixins.PermissionRequiredMixin, seshat.apps.general.mixins.PolityIdMixin, 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.

get_absolute_url()

Get the absolute URL of the view.

Returns:

The absolute URL of the view.

Return type:

str

get_context_data(**kwargs)

Get the context data of the view.

Noindex:

Parameters:

**kwargs – Arbitrary keyword arguments.

Returns:

The context data of the view.

Return type:

dict

form_class
model
permission_required = 'core.add_capital'
template_name = 'general/polity_alternative_name/polity_alternative_name_form.html'
class seshat.apps.general.views.Polity_alternative_nameDelete

Bases: django.contrib.auth.mixins.PermissionRequiredMixin, 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.

model
permission_required = 'core.add_capital'
success_url
template_name = 'core/delete_general.html'
class seshat.apps.general.views.Polity_alternative_nameDetailView

Bases: django.views.generic.DetailView

View for displaying a single Polity_alternative_name instance.

model
template_name = 'general/polity_alternative_name/polity_alternative_name_detail.html'
class seshat.apps.general.views.Polity_alternative_nameListView

Bases: django.views.generic.ListView

Paginated view for listing all Polity_alternative_name instances.

get_absolute_url()

Get the absolute URL of the view.

Returns:

The absolute URL of the view.

Return type:

str

get_context_data(**kwargs)

Get the context data of the view.

Noindex:

Parameters:

**kwargs – Arbitrary keyword arguments.

Returns:

The context data of the view.

Return type:

dict

model
paginate_by = 10
template_name = 'general/polity_alternative_name/polity_alternative_name_list.html'
class seshat.apps.general.views.Polity_alternative_nameListViewAll

Bases: django.views.generic.ListView

View for listing all Polity_alternative_name instances.

get_absolute_url()

Get the absolute URL of the view.

Returns:

The absolute URL of the view.

Return type:

str

get_context_data(**kwargs)

Get the context data of the view.

Noindex:

Parameters:

**kwargs – Arbitrary keyword arguments.

Returns:

The context data of the view.

Return type:

dict

get_queryset()

Get the queryset of Polity_alternative_name instances.

Returns:

The queryset of Polity_alternative_name instances.

Return type:

QuerySet

model
template_name = 'general/polity_alternative_name/polity_alternative_name_list_all.html'
class seshat.apps.general.views.Polity_alternative_nameUpdate

Bases: django.contrib.auth.mixins.PermissionRequiredMixin, 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.

get_context_data(**kwargs)

Get the context data of the view.

Noindex:

Parameters:

**kwargs – Arbitrary keyword arguments.

Returns:

The context data of the view.

Return type:

dict

form_class
model
permission_required = 'core.add_capital'
template_name = 'general/polity_alternative_name/polity_alternative_name_update.html'
class seshat.apps.general.views.Polity_capitalCreate

Bases: django.contrib.auth.mixins.PermissionRequiredMixin, seshat.apps.general.mixins.PolityIdMixin, django.views.generic.edit.CreateView

View for creating a new Polity_capital.

Note

This view is restricted to users with the ‘add_capital’ permission.

get_absolute_url()

Get the absolute URL of the view.

Returns:

The absolute URL of the view.

Return type:

str

get_context_data(**kwargs)

Get the context data of the view.

Noindex:

Parameters:

**kwargs – Arbitrary keyword arguments.

Returns:

The context data of the view.

Return type:

dict

form_class
model
permission_required = 'core.add_capital'
template_name = 'general/polity_capital/polity_capital_form.html'
class seshat.apps.general.views.Polity_capitalDelete

Bases: django.contrib.auth.mixins.PermissionRequiredMixin, django.views.generic.edit.DeleteView

View for deleting an existing Polity_capital.

Note

This view is restricted to users with the ‘add_capital’ permission.

model
permission_required = 'core.add_capital'
success_url
template_name = 'core/delete_general.html'
class seshat.apps.general.views.Polity_capitalDetailView

Bases: django.views.generic.DetailView

View for displaying a single Polity_capital instance.

model
template_name = 'general/polity_capital/polity_capital_detail.html'
class seshat.apps.general.views.Polity_capitalListView

Bases: django.views.generic.ListView

Paginated view for listing all Polity_capital instances.

get_absolute_url()

Get the absolute URL of the view.

Returns:

The absolute URL of the view.

Return type:

str

get_context_data(**kwargs)

Get the context data of the view.

Noindex:

Parameters:

**kwargs – Arbitrary keyword arguments.

Returns:

The context data of the view.

Return type:

dict

model
paginate_by = 10
template_name = 'general/polity_capital/polity_capital_list.html'
class seshat.apps.general.views.Polity_capitalListViewAll

Bases: django.views.generic.ListView

View for listing all Polity_capital instances.

get_absolute_url()

Get the absolute URL of the view.

Returns:

The absolute URL of the view.

Return type:

str

get_context_data(**kwargs)

Get the context data of the view.

Noindex:

Parameters:

**kwargs – Arbitrary keyword arguments.

Returns:

The context data of the view.

Return type:

dict

get_queryset()

Get the queryset of Polity_capital instances.

Returns:

The queryset of Polity_capital instances.

Return type:

QuerySet

model
template_name = 'general/polity_capital/polity_capital_list_all.html'
class seshat.apps.general.views.Polity_capitalUpdate

Bases: django.contrib.auth.mixins.PermissionRequiredMixin, django.views.generic.edit.UpdateView

View for updating an existing Polity_capital.

Note

This view is restricted to users with the ‘add_capital’ permission.

get_context_data(**kwargs)

Get the context data of the view.

Noindex:

Parameters:

**kwargs – Arbitrary keyword arguments.

Returns:

The context data of the view.

Return type:

dict

form_class
model
permission_required = 'core.add_capital'
template_name = 'general/polity_capital/polity_capital_update.html'
class seshat.apps.general.views.Polity_degree_of_centralizationCreate

Bases: django.contrib.auth.mixins.PermissionRequiredMixin, seshat.apps.general.mixins.PolityIdMixin, 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.

get_absolute_url()

Get the absolute URL of the view.

Returns:

The absolute URL of the view.

Return type:

str

get_context_data(**kwargs)

Get the context data of the view.

Noindex:

Parameters:

**kwargs – Arbitrary keyword arguments.

Returns:

The context data of the view.

Return type:

dict

get_form(form_class=None)

Get the form of the view. Sort the choices of the degree_of_centralization field.

Parameters:

form_class – The form class. Defaults to None.

Returns:

The form of the view.

Return type:

Form

form_class
model
permission_required = 'core.add_capital'
template_name = 'general/polity_degree_of_centralization/polity_degree_of_centralization_form.html'
class seshat.apps.general.views.Polity_degree_of_centralizationDelete

Bases: django.contrib.auth.mixins.PermissionRequiredMixin, 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.

model
permission_required = 'core.add_capital'
success_url
template_name = 'core/delete_general.html'
class seshat.apps.general.views.Polity_degree_of_centralizationDetailView

Bases: django.views.generic.DetailView

View for displaying a single Polity_degree_of_centralization instance.

model
template_name = 'general/polity_degree_of_centralization/polity_degree_of_centralization_detail.html'
class seshat.apps.general.views.Polity_degree_of_centralizationListView

Bases: django.views.generic.ListView

Paginated view for listing all Polity_degree_of_centralization instances.

get_absolute_url()

Get the absolute URL of the view.

Returns:

The absolute URL of the view.

Return type:

str

get_context_data(**kwargs)

Get the context data of the view.

Noindex:

Parameters:

**kwargs – Arbitrary keyword arguments.

Returns:

The context data of the view.

Return type:

dict

model
paginate_by = 10
template_name = 'general/polity_degree_of_centralization/polity_degree_of_centralization_list.html'
class seshat.apps.general.views.Polity_degree_of_centralizationListViewAll

Bases: django.views.generic.ListView

View for listing all Polity_degree_of_centralization instances.

get_absolute_url()

Get the absolute URL of the view.

Returns:

The absolute URL of the view.

Return type:

str

get_context_data(**kwargs)

Get the context data of the view.

Noindex:

Parameters:

**kwargs – Arbitrary keyword arguments.

Returns:

The context data of the view.

Return type:

dict

get_queryset()

Get the queryset of Polity_degree_of_centralization instances.

Returns:

The queryset of Polity_degree_of_centralization instances.

Return type:

QuerySet

model
template_name = 'general/polity_degree_of_centralization/polity_degree_of_centralization_list_all.html'
class seshat.apps.general.views.Polity_degree_of_centralizationUpdate

Bases: django.contrib.auth.mixins.PermissionRequiredMixin, 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.

get_context_data(**kwargs)

Get the context data of the view.

Noindex:

Parameters:

**kwargs – Arbitrary keyword arguments.

Returns:

The context data of the view.

Return type:

dict

get_form(form_class=None)

Get the form of the view. Sort the choices of the degree_of_centralization field.

Parameters:

form_class – The form class. Defaults to None.

Returns:

The form of the view.

Return type:

Form

form_class
model
permission_required = 'core.add_capital'
template_name = 'general/polity_degree_of_centralization/polity_degree_of_centralization_update.html'
class seshat.apps.general.views.Polity_durationCreate

Bases: django.contrib.auth.mixins.PermissionRequiredMixin, seshat.apps.general.mixins.PolityIdMixin, django.views.generic.edit.CreateView

View for creating a new Polity_duration.

Note

This view is restricted to users with the ‘add_capital’ permission.

get_absolute_url()

Get the absolute URL of the view.

Returns:

The absolute URL of the view.

Return type:

str

get_context_data(**kwargs)

Get the context data of the view.

Noindex:

Parameters:

**kwargs – Arbitrary keyword arguments.

Returns:

The context data of the view.

Return type:

dict

form_class
model
permission_required = 'core.add_capital'
template_name = 'general/polity_duration/polity_duration_form.html'
class seshat.apps.general.views.Polity_durationDelete

Bases: django.contrib.auth.mixins.PermissionRequiredMixin, django.views.generic.edit.DeleteView

View for deleting an existing Polity_duration.

Note

This view is restricted to users with the ‘add_capital’ permission.

model
permission_required = 'core.add_capital'
success_url
template_name = 'core/delete_general.html'
class seshat.apps.general.views.Polity_durationDetailView

Bases: django.views.generic.DetailView

View for displaying a single Polity_duration instance.

model
template_name = 'general/polity_duration/polity_duration_detail.html'
class seshat.apps.general.views.Polity_durationListView

Bases: django.views.generic.ListView

Paginated view for listing all Polity_duration instances.

get_absolute_url()

Get the absolute URL of the view.

Returns:

The absolute URL of the view.

Return type:

str

get_context_data(**kwargs)

Get the context data of the view.

Noindex:

Parameters:

**kwargs – Arbitrary keyword arguments.

Returns:

The context data of the view.

Return type:

dict

model
paginate_by = 10
template_name = 'general/polity_duration/polity_duration_list.html'
class seshat.apps.general.views.Polity_durationListViewAll

Bases: django.views.generic.ListView

View for listing all Polity_duration instances.

get_absolute_url()

Get the absolute URL of the view.

Returns:

The absolute URL of the view.

Return type:

str

get_context_data(**kwargs)

Get the context data of the view.

Noindex:

Parameters:

**kwargs – Arbitrary keyword arguments.

Returns:

The context data of the view.

Return type:

dict

get_queryset()

Get the queryset of Polity_duration instances.

Returns:

The queryset of Polity_duration instances.

Return type:

QuerySet

model
template_name = 'general/polity_duration/polity_duration_list_all.html'
class seshat.apps.general.views.Polity_durationUpdate

Bases: django.contrib.auth.mixins.PermissionRequiredMixin, django.views.generic.edit.UpdateView

View for updating an existing Polity_duration.

Note

This view is restricted to users with the ‘add_capital’ permission.

get_context_data(**kwargs)

Get the context data of the view.

Noindex:

Parameters:

**kwargs – Arbitrary keyword arguments.

Returns:

The context data of the view.

Return type:

dict

form_class
model
permission_required = 'core.add_capital'
template_name = 'general/polity_duration/polity_duration_update.html'
class seshat.apps.general.views.Polity_editorCreate

Bases: django.contrib.auth.mixins.PermissionRequiredMixin, django.views.generic.edit.CreateView

View for creating a new Polity_editor.

Note

This view is restricted to users with the ‘add_capital’ permission.

get_absolute_url()

Get the absolute URL of the view.

Returns:

The absolute URL of the view.

Return type:

str

get_context_data(**kwargs)

Get the context data of the view.

Noindex:

Parameters:

**kwargs – Arbitrary keyword arguments.

Returns:

The context data of the view.

Return type:

dict

form_class
model
permission_required = 'core.add_capital'
template_name = 'general/polity_editor/polity_editor_form.html'
class seshat.apps.general.views.Polity_editorDelete

Bases: django.contrib.auth.mixins.PermissionRequiredMixin, django.views.generic.edit.DeleteView

View for deleting an existing Polity_editor.

Note

This view is restricted to users with the ‘add_capital’ permission.

model
permission_required = 'core.add_capital'
success_url
template_name = 'core/delete_general.html'
class seshat.apps.general.views.Polity_editorDetailView

Bases: django.views.generic.DetailView

View for displaying a single Polity_editor instance.

model
template_name = 'general/polity_editor/polity_editor_detail.html'
class seshat.apps.general.views.Polity_editorListView

Bases: django.views.generic.ListView

Paginated view for listing all Polity_editor instances.

get_absolute_url()

Get the absolute URL of the view.

Returns:

The absolute URL of the view.

Return type:

str

get_context_data(**kwargs)

Get the context data of the view.

Noindex:

Parameters:

**kwargs – Arbitrary keyword arguments.

Returns:

The context data of the view.

Return type:

dict

model
paginate_by = 10
template_name = 'general/polity_editor/polity_editor_list.html'
class seshat.apps.general.views.Polity_editorListViewAll

Bases: django.views.generic.ListView

View for listing all Polity_editor instances.

get_absolute_url()

Get the absolute URL of the view.

Returns:

The absolute URL of the view.

Return type:

str

get_context_data(**kwargs)

Get the context data of the view.

Noindex:

Parameters:

**kwargs – Arbitrary keyword arguments.

Returns:

The context data of the view.

Return type:

dict

get_queryset()

Get the queryset of Polity_editor instances.

Returns:

The queryset of Polity_editor instances.

Return type:

QuerySet

model
template_name = 'general/polity_editor/polity_editor_list_all.html'
class seshat.apps.general.views.Polity_editorUpdate

Bases: django.contrib.auth.mixins.PermissionRequiredMixin, django.views.generic.edit.UpdateView

View for updating an existing Polity_editor.

Note

This view is restricted to users with the ‘add_capital’ permission.

get_context_data(**kwargs)

Get the context data of the view.

Noindex:

Parameters:

**kwargs – Arbitrary keyword arguments.

Returns:

The context data of the view.

Return type:

dict

form_class
model
permission_required = 'core.add_capital'
template_name = 'general/polity_editor/polity_editor_update.html'
class seshat.apps.general.views.Polity_expertCreate

Bases: django.contrib.auth.mixins.PermissionRequiredMixin, django.views.generic.edit.CreateView

View for creating a new Polity_expert.

Note

This view is restricted to users with the ‘add_capital’ permission.

get_absolute_url()

Get the absolute URL of the view.

Returns:

The absolute URL of the view.

Return type:

str

get_context_data(**kwargs)

Get the context data of the view.

Noindex:

Parameters:

**kwargs – Arbitrary keyword arguments.

Returns:

The context data of the view.

Return type:

dict

form_class
model
permission_required = 'core.add_capital'
template_name = 'general/polity_expert/polity_expert_form.html'
class seshat.apps.general.views.Polity_expertDelete

Bases: django.contrib.auth.mixins.PermissionRequiredMixin, django.views.generic.edit.DeleteView

View for deleting an existing Polity_expert.

Note

This view is restricted to users with the ‘add_capital’ permission.

model
permission_required = 'core.add_capital'
success_url
template_name = 'core/delete_general.html'
class seshat.apps.general.views.Polity_expertDetailView

Bases: django.views.generic.DetailView

View for displaying a single Polity_expert instance.

model
template_name = 'general/polity_expert/polity_expert_detail.html'
class seshat.apps.general.views.Polity_expertListView

Bases: django.views.generic.ListView

Paginated view for listing all Polity_expert instances.

get_absolute_url()

Get the absolute URL of the view.

Returns:

The absolute URL of the view.

Return type:

str

get_context_data(**kwargs)

Get the context data of the view.

Noindex:

Parameters:

**kwargs – Arbitrary keyword arguments.

Returns:

The context data of the view.

Return type:

dict

model
paginate_by = 10
template_name = 'general/polity_expert/polity_expert_list.html'
class seshat.apps.general.views.Polity_expertListViewAll

Bases: django.views.generic.ListView

View for listing all Polity_expert instances.

get_absolute_url()

Get the absolute URL of the view.

Returns:

The absolute URL of the view.

Return type:

str

get_context_data(**kwargs)

Get the context data of the view.

Noindex:

Parameters:

**kwargs – Arbitrary keyword arguments.

Returns:

The context data of the view.

Return type:

dict

get_queryset()

Get the queryset of Polity_expert instances.

Returns:

The queryset of Polity_expert instances.

Return type:

QuerySet

model
template_name = 'general/polity_expert/polity_expert_list_all.html'
class seshat.apps.general.views.Polity_expertUpdate

Bases: django.contrib.auth.mixins.PermissionRequiredMixin, django.views.generic.edit.UpdateView

View for updating an existing Polity_expert.

Note

This view is restricted to users with the ‘add_capital’ permission.

get_context_data(**kwargs)

Get the context data of the view.

Noindex:

Parameters:

**kwargs – Arbitrary keyword arguments.

Returns:

The context data of the view.

Return type:

dict

form_class
model
permission_required = 'core.add_capital'
template_name = 'general/polity_expert/polity_expert_update.html'
class seshat.apps.general.views.Polity_languageCreate

Bases: django.contrib.auth.mixins.PermissionRequiredMixin, seshat.apps.general.mixins.PolityIdMixin, django.views.generic.edit.CreateView

View for creating a new Polity_language.

Note

This view is restricted to users with the ‘add_capital’ permission.

get_absolute_url()

Get the absolute URL of the view.

Returns:

The absolute URL of the view.

Return type:

str

get_context_data(**kwargs)

Get the context data of the view.

Noindex:

Parameters:

**kwargs – Arbitrary keyword arguments.

Returns:

The context data of the view.

Return type:

dict

get_form(form_class=None)

Get the form of the view. Sort the choices of the language field.

Parameters:

form_class – The form class. Defaults to None.

Returns:

The form of the view.

Return type:

Form

form_class
model
permission_required = 'core.add_capital'
template_name = 'general/polity_language/polity_language_form.html'
class seshat.apps.general.views.Polity_languageDelete

Bases: django.contrib.auth.mixins.PermissionRequiredMixin, django.views.generic.edit.DeleteView

View for deleting an existing Polity_language.

Note

This view is restricted to users with the ‘add_capital’ permission.

model
permission_required = 'core.add_capital'
success_url
template_name = 'core/delete_general.html'
class seshat.apps.general.views.Polity_languageDetailView

Bases: django.views.generic.DetailView

View for displaying a single Polity_language instance.

model
template_name = 'general/polity_language/polity_language_detail.html'
class seshat.apps.general.views.Polity_languageListView

Bases: django.views.generic.ListView

Paginated view for listing all Polity_language instances.

get_absolute_url()

Get the absolute URL of the view.

Returns:

The absolute URL of the view.

Return type:

str

get_context_data(**kwargs)

Get the context data of the view.

Noindex:

Parameters:

**kwargs – Arbitrary keyword arguments.

Returns:

The context data of the view.

Return type:

dict

model
paginate_by = 10
template_name = 'general/polity_language/polity_language_list.html'
class seshat.apps.general.views.Polity_languageListViewAll

Bases: django.views.generic.ListView

View for listing all Polity_language instances.

get_absolute_url()

Get the absolute URL of the view.

Returns:

The absolute URL of the view.

Return type:

str

get_context_data(**kwargs)

Get the context data of the view.

Noindex:

Parameters:

**kwargs – Arbitrary keyword arguments.

Returns:

The context data of the view.

Return type:

dict

get_queryset()

Get the queryset of Polity_language instances.

Returns:

The queryset of Polity_language instances.

Return type:

QuerySet

model
template_name = 'general/polity_language/polity_language_list_all.html'
class seshat.apps.general.views.Polity_languageUpdate

Bases: django.contrib.auth.mixins.PermissionRequiredMixin, django.views.generic.edit.UpdateView

View for updating an existing Polity_language.

Note

This view is restricted to users with the ‘add_capital’ permission.

get_context_data(**kwargs)

Get the context data of the view.

Noindex:

Parameters:

**kwargs – Arbitrary keyword arguments.

Returns:

The context data of the view.

Return type:

dict

get_form(form_class=None)

Get the form of the view. Sort the choices of the language field.

Parameters:

form_class – The form class. Defaults to None.

Returns:

The form of the view.

Return type:

Form

form_class
model
permission_required = 'core.add_capital'
template_name = 'general/polity_language/polity_language_update.html'
class seshat.apps.general.views.Polity_language_genusCreate

Bases: django.contrib.auth.mixins.PermissionRequiredMixin, seshat.apps.general.mixins.PolityIdMixin, 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.

get_absolute_url()

Get the absolute URL of the view.

Returns:

The absolute URL of the view.

Return type:

str

get_context_data(**kwargs)

Get the context data of the view.

Noindex:

Parameters:

**kwargs – Arbitrary keyword arguments.

Returns:

The context data of the view.

Return type:

dict

form_class
model
permission_required = 'core.add_capital'
template_name = 'general/polity_language_genus/polity_language_genus_form.html'
class seshat.apps.general.views.Polity_language_genusDelete

Bases: django.contrib.auth.mixins.PermissionRequiredMixin, 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.

model
permission_required = 'core.add_capital'
success_url
template_name = 'core/delete_general.html'
class seshat.apps.general.views.Polity_language_genusDetailView

Bases: django.views.generic.DetailView

View for displaying a single Polity_language_genus instance.

model
template_name = 'general/polity_language_genus/polity_language_genus_detail.html'
class seshat.apps.general.views.Polity_language_genusListView

Bases: django.views.generic.ListView

Paginated view for listing all Polity_language_genus instances.

get_absolute_url()

Get the absolute URL of the view.

Returns:

The absolute URL of the view.

Return type:

str

get_context_data(**kwargs)

Get the context data of the view.

Noindex:

Parameters:

**kwargs – Arbitrary keyword arguments.

Returns:

The context data of the view.

Return type:

dict

model
paginate_by = 10
template_name = 'general/polity_language_genus/polity_language_genus_list.html'
class seshat.apps.general.views.Polity_language_genusListViewAll

Bases: django.views.generic.ListView

View for listing all Polity_language_genus instances.

get_absolute_url()

Get the absolute URL of the view.

Returns:

The absolute URL of the view.

Return type:

str

get_context_data(**kwargs)

Get the context data of the view.

Noindex:

Parameters:

**kwargs – Arbitrary keyword arguments.

Returns:

The context data of the view.

Return type:

dict

get_queryset()

Get the queryset of Polity_language_genus instances.

Returns:

The queryset of Polity_language_genus instances.

Return type:

QuerySet

model
template_name = 'general/polity_language_genus/polity_language_genus_list_all.html'
class seshat.apps.general.views.Polity_language_genusUpdate

Bases: django.contrib.auth.mixins.PermissionRequiredMixin, 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.

get_context_data(**kwargs)

Get the context data of the view.

Noindex:

Parameters:

**kwargs – Arbitrary keyword arguments.

Returns:

The context data of the view.

Return type:

dict

form_class
model
permission_required = 'core.add_capital'
template_name = 'general/polity_language_genus/polity_language_genus_update.html'
class seshat.apps.general.views.Polity_linguistic_familyCreate

Bases: django.contrib.auth.mixins.PermissionRequiredMixin, seshat.apps.general.mixins.PolityIdMixin, 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.

get_absolute_url()

Get the absolute URL of the view.

Returns:

The absolute URL of the view.

Return type:

str

get_context_data(**kwargs)

Get the context data of the view.

Noindex:

Parameters:

**kwargs – Arbitrary keyword arguments.

Returns:

The context data of the view.

Return type:

dict

get_form(form_class=None)

Get the form of the view. Sort the choices of the linguistic_family field.

Parameters:

form_class – The form class. Defaults to None.

Returns:

The form of the view.

Return type:

Form

form_class
model
permission_required = 'core.add_capital'
template_name = 'general/polity_linguistic_family/polity_linguistic_family_form.html'
class seshat.apps.general.views.Polity_linguistic_familyDelete

Bases: django.contrib.auth.mixins.PermissionRequiredMixin, 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.

model
permission_required = 'core.add_capital'
success_url
template_name = 'core/delete_general.html'
class seshat.apps.general.views.Polity_linguistic_familyDetailView

Bases: django.views.generic.DetailView

View for displaying a single Polity_linguistic_family instance.

model
template_name = 'general/polity_linguistic_family/polity_linguistic_family_detail.html'
class seshat.apps.general.views.Polity_linguistic_familyListView

Bases: django.views.generic.ListView

Paginated view for listing all Polity_linguistic_family instances.

get_absolute_url()

Get the absolute URL of the view.

Returns:

The absolute URL of the view.

Return type:

str

get_context_data(**kwargs)

Get the context data of the view.

Noindex:

Parameters:

**kwargs – Arbitrary keyword arguments.

Returns:

The context data of the view.

Return type:

dict

model
paginate_by = 10
template_name = 'general/polity_linguistic_family/polity_linguistic_family_list.html'
class seshat.apps.general.views.Polity_linguistic_familyListViewAll

Bases: django.views.generic.ListView

View for listing all Polity_linguistic_family instances.

get_absolute_url()

Get the absolute URL of the view.

Returns:

The absolute URL of the view.

Return type:

str

get_context_data(**kwargs)

Get the context data of the view.

Noindex:

Parameters:

**kwargs – Arbitrary keyword arguments.

Returns:

The context data of the view.

Return type:

dict

get_queryset()

Get the queryset of Polity_linguistic_family instances.

Returns:

The queryset of Polity_linguistic_family instances.

Return type:

QuerySet

model
template_name = 'general/polity_linguistic_family/polity_linguistic_family_list_all.html'
class seshat.apps.general.views.Polity_linguistic_familyUpdate

Bases: django.contrib.auth.mixins.PermissionRequiredMixin, 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.

get_context_data(**kwargs)

Get the context data of the view.

Noindex:

Parameters:

**kwargs – Arbitrary keyword arguments.

Returns:

The context data of the view.

Return type:

dict

get_form(form_class=None)

Get the form of the view. Sort the choices of the linguistic_family field.

Parameters:

form_class – The form class. Defaults to None.

Returns:

The form of the view.

Return type:

Form

form_class
model
permission_required = 'core.add_capital'
template_name = 'general/polity_linguistic_family/polity_linguistic_family_update.html'
class seshat.apps.general.views.Polity_original_nameCreate

Bases: django.contrib.auth.mixins.PermissionRequiredMixin, seshat.apps.general.mixins.PolityIdMixin, 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.

get_absolute_url()

Get the absolute URL of the view.

Returns:

The absolute URL of the view.

Return type:

str

get_context_data(**kwargs)

Get the context data of the view.

Noindex:

Parameters:

**kwargs – Arbitrary keyword arguments.

Returns:

The context data of the view.

Return type:

dict

form_class
model
permission_required = 'core.add_capital'
template_name = 'general/polity_original_name/polity_original_name_form.html'
class seshat.apps.general.views.Polity_original_nameDelete

Bases: django.contrib.auth.mixins.PermissionRequiredMixin, 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.

model
permission_required = 'core.add_capital'
success_url
template_name = 'core/delete_general.html'
class seshat.apps.general.views.Polity_original_nameDetailView

Bases: django.views.generic.DetailView

View for displaying a single Polity_original_name instance.

model
template_name = 'general/polity_original_name/polity_original_name_detail.html'
class seshat.apps.general.views.Polity_original_nameListView

Bases: django.views.generic.ListView

Paginated view for listing all Polity_original_name instances.

get_absolute_url()

Get the absolute URL of the view.

Returns:

The absolute URL of the view.

Return type:

str

get_context_data(**kwargs)

Get the context data of the view.

Noindex:

Parameters:

**kwargs – Arbitrary keyword arguments.

Returns:

The context data of the view.

Return type:

dict

model
paginate_by = 10
template_name = 'general/polity_original_name/polity_original_name_list.html'
class seshat.apps.general.views.Polity_original_nameListViewAll

Bases: django.views.generic.ListView

View for listing all Polity_original_name instances.

get_absolute_url()

Get the absolute URL of the view.

Returns:

The absolute URL of the view.

Return type:

str

get_context_data(**kwargs)

Get the context data of the view.

Noindex:

Parameters:

**kwargs – Arbitrary keyword arguments.

Returns:

The context data of the view.

Return type:

dict

get_queryset()

Get the queryset of Polity_original_name instances.

Returns:

The queryset of Polity_original_name instances.

Return type:

QuerySet

model
template_name = 'general/polity_original_name/polity_original_name_list_all.html'
class seshat.apps.general.views.Polity_original_nameUpdate

Bases: django.contrib.auth.mixins.PermissionRequiredMixin, 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.

get_context_data(**kwargs)

Get the context data of the view.

Noindex:

Parameters:

**kwargs – Arbitrary keyword arguments.

Returns:

The context data of the view.

Return type:

dict

form_class
model
permission_required = 'core.add_capital'
template_name = 'general/polity_original_name/polity_original_name_update.html'
class seshat.apps.general.views.Polity_peak_yearsCreate

Bases: django.contrib.auth.mixins.PermissionRequiredMixin, seshat.apps.general.mixins.PolityIdMixin, 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.

get_absolute_url()

Get the absolute URL of the view.

Returns:

The absolute URL of the view.

Return type:

str

get_context_data(**kwargs)

Get the context data of the view.

Noindex:

Parameters:

**kwargs – Arbitrary keyword arguments.

Returns:

The context data of the view.

Return type:

dict

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.

Return type:

dict

form_class
model
permission_required = 'core.add_capital'
template_name = 'general/polity_peak_years/polity_peak_years_form.html'
class seshat.apps.general.views.Polity_peak_yearsDelete

Bases: django.contrib.auth.mixins.PermissionRequiredMixin, 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.

model
permission_required = 'core.add_capital'
success_url
template_name = 'core/delete_general.html'
class seshat.apps.general.views.Polity_peak_yearsDetailView

Bases: django.views.generic.DetailView

View for displaying a single Polity_peak_years instance.

model
template_name = 'general/polity_peak_years/polity_peak_years_detail.html'
class seshat.apps.general.views.Polity_peak_yearsListView

Bases: django.views.generic.ListView

Paginated view for listing all Polity_peak_years instances.

get_absolute_url()

Get the absolute URL of the view.

Returns:

The absolute URL of the view.

Return type:

str

get_context_data(**kwargs)

Get the context data of the view.

Noindex:

Parameters:

**kwargs – Arbitrary keyword arguments.

Returns:

The context data of the view.

Return type:

dict

model
paginate_by = 10
template_name = 'general/polity_peak_years/polity_peak_years_list.html'
class seshat.apps.general.views.Polity_peak_yearsListViewAll

Bases: django.views.generic.ListView

View for listing all Polity_peak_years instances.

get_absolute_url()

Get the absolute URL of the view.

Returns:

The absolute URL of the view.

Return type:

str

get_context_data(**kwargs)

Get the context data of the view.

Noindex:

Parameters:

**kwargs – Arbitrary keyword arguments.

Returns:

The context data of the view.

Return type:

dict

get_queryset()

Get the queryset of Polity_peak_years instances.

Returns:

The queryset of Polity_peak_years instances.

Return type:

QuerySet

model
template_name = 'general/polity_peak_years/polity_peak_years_list_all.html'
class seshat.apps.general.views.Polity_peak_yearsUpdate

Bases: django.contrib.auth.mixins.PermissionRequiredMixin, 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.

get_context_data(**kwargs)

Get the context data of the view.

Noindex:

Parameters:

**kwargs – Arbitrary keyword arguments.

Returns:

The context data of the view.

Return type:

dict

form_class
model
permission_required = 'core.add_capital'
template_name = 'general/polity_peak_years/polity_peak_years_update.html'
class seshat.apps.general.views.Polity_preceding_entityCreate

Bases: django.contrib.auth.mixins.PermissionRequiredMixin, seshat.apps.general.mixins.PolityIdMixin, 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.

get_absolute_url()

Get the absolute URL of the view.

Returns:

The absolute URL of the view.

Return type:

str

get_context_data(**kwargs)

Get the context data of the view.

Noindex:

Parameters:

**kwargs – Arbitrary keyword arguments.

Returns:

The context data of the view.

Return type:

dict

form_class
model
permission_required = 'core.add_capital'
template_name = 'general/polity_preceding_entity/polity_preceding_entity_form.html'
class seshat.apps.general.views.Polity_preceding_entityDelete

Bases: django.contrib.auth.mixins.PermissionRequiredMixin, 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.

model
permission_required = 'core.add_capital'
success_url
template_name = 'core/delete_general.html'
class seshat.apps.general.views.Polity_preceding_entityDetailView

Bases: django.views.generic.DetailView

View for displaying a single Polity_preceding_entity instance.

model
template_name = 'general/polity_preceding_entity/polity_preceding_entity_detail.html'
class seshat.apps.general.views.Polity_preceding_entityListView

Bases: django.views.generic.ListView

Paginated view for listing all Polity_preceding_entity instances.

get_absolute_url()

Get the absolute URL of the view.

Returns:

The absolute URL of the view.

Return type:

str

get_context_data(**kwargs)

Get the context data of the view.

Noindex:

Parameters:

**kwargs – Arbitrary keyword arguments.

Returns:

The context data of the view.

Return type:

dict

model
paginate_by = 10
template_name = 'general/polity_preceding_entity/polity_preceding_entity_list.html'
class seshat.apps.general.views.Polity_preceding_entityListViewAll

Bases: django.views.generic.ListView

View for listing all Polity_preceding_entity instances.

get_absolute_url()

Get the absolute URL of the view.

Returns:

The absolute URL of the view.

Return type:

str

get_context_data(**kwargs)

Get the context data of the view.

Noindex:

Parameters:

**kwargs – Arbitrary keyword arguments.

Returns:

The context data of the view.

Return type:

dict

get_queryset()

Get the queryset of Polity_preceding_entity instances.

Returns:

The queryset of Polity_preceding_entity instances.

Return type:

QuerySet

model
template_name = 'general/polity_preceding_entity/polity_preceding_entity_list_all.html'
class seshat.apps.general.views.Polity_preceding_entityUpdate

Bases: django.contrib.auth.mixins.PermissionRequiredMixin, 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.

get_context_data(**kwargs)

Get the context data of the view.

Noindex:

Parameters:

**kwargs – Arbitrary keyword arguments.

Returns:

The context data of the view.

Return type:

dict

form_class
model
permission_required = 'core.add_capital'
template_name = 'general/polity_preceding_entity/polity_preceding_entity_update.html'
class seshat.apps.general.views.Polity_relationship_to_preceding_entityCreate

Bases: django.contrib.auth.mixins.PermissionRequiredMixin, seshat.apps.general.mixins.PolityIdMixin, 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.

get_absolute_url()

Get the absolute URL of the view.

Returns:

The absolute URL of the view.

Return type:

str

get_context_data(**kwargs)

Get the context data of the view.

Noindex:

Parameters:

**kwargs – Arbitrary keyword arguments.

Returns:

The context data of the view.

Return type:

dict

get_form(form_class=None)

Get the form of the view. Sort the choices of the relationship_to_preceding_entity field.

Parameters:

form_class – The form class. Defaults to None.

Returns:

The form of the view.

Return type:

Form

form_class
model
permission_required = 'core.add_capital'
template_name = 'general/polity_relationship_to_preceding_entity/polity_relationship_to_preceding_entity_form.html'
class seshat.apps.general.views.Polity_relationship_to_preceding_entityDelete

Bases: django.contrib.auth.mixins.PermissionRequiredMixin, 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.

model
permission_required = 'core.add_capital'
success_url
template_name = 'core/delete_general.html'
class seshat.apps.general.views.Polity_relationship_to_preceding_entityDetailView

Bases: django.views.generic.DetailView

View for displaying a single Polity_relationship_to_preceding_entity instance.

model
template_name = 'general/polity_relationship_to_preceding_entity/polity_relationship_to_preceding_entity_detail.html'
class seshat.apps.general.views.Polity_relationship_to_preceding_entityListView

Bases: django.views.generic.ListView

Paginated view for listing all Polity_relationship_to_preceding_entity instances.

get_absolute_url()

Get the absolute URL of the view.

Returns:

The absolute URL of the view.

Return type:

str

get_context_data(**kwargs)

Get the context data of the view.

Noindex:

Parameters:

**kwargs – Arbitrary keyword arguments.

Returns:

The context data of the view.

Return type:

dict

model
paginate_by = 10
template_name = 'general/polity_relationship_to_preceding_entity/polity_relationship_to_preceding_entity_list.html'
class seshat.apps.general.views.Polity_relationship_to_preceding_entityListViewAll

Bases: django.views.generic.ListView

View for listing all Polity_relationship_to_preceding_entity instances.

get_absolute_url()

Get the absolute URL of the view.

Returns:

The absolute URL of the view.

Return type:

str

get_context_data(**kwargs)

Get the context data of the view.

Noindex:

Parameters:

**kwargs – Arbitrary keyword arguments.

Returns:

The context data of the view.

Return type:

dict

get_queryset()

Get the queryset of Polity_relationship_to_preceding_entity instances.

Returns:

The queryset of Polity_relationship_to_preceding_entity instances.

Return type:

QuerySet

model
template_name = 'general/polity_relationship_to_preceding_entity/polity_relationship_to_preceding_entity_list_all.html'
class seshat.apps.general.views.Polity_relationship_to_preceding_entityUpdate

Bases: django.contrib.auth.mixins.PermissionRequiredMixin, 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.

get_context_data(**kwargs)

Get the context data of the view.

Noindex:

Parameters:

**kwargs – Arbitrary keyword arguments.

Returns:

The context data of the view.

Return type:

dict

get_form(form_class=None)

Get the form of the view. Sort the choices of the relationship_to_preceding_entity field.

Parameters:

form_class – The form class. Defaults to None.

Returns:

The form of the view.

Return type:

Form

form_class
model
permission_required = 'core.add_capital'
template_name = 'general/polity_relationship_to_preceding_entity/polity_relationship_to_preceding_entity_update.html'
class seshat.apps.general.views.Polity_religionCreate

Bases: django.contrib.auth.mixins.PermissionRequiredMixin, seshat.apps.general.mixins.PolityIdMixin, django.views.generic.edit.CreateView

View for creating a new Polity_religion.

Note

This view is restricted to users with the ‘add_capital’ permission.

get_absolute_url()

Get the absolute URL of the view.

Returns:

The absolute URL of the view.

Return type:

str

get_context_data(**kwargs)

Get the context data of the view.

Noindex:

Parameters:

**kwargs – Arbitrary keyword arguments.

Returns:

The context data of the view.

Return type:

dict

get_form(form_class=None)

Get the form of the view. Sort the choices of the religion field.

Parameters:

form_class – The form class. Defaults to None.

Returns:

The form of the view.

Return type:

Form

form_class
model
permission_required = 'core.add_capital'
template_name = 'general/polity_religion/polity_religion_form.html'
class seshat.apps.general.views.Polity_religionDelete

Bases: django.contrib.auth.mixins.PermissionRequiredMixin, django.views.generic.edit.DeleteView

View for deleting an existing Polity_religion.

Note

This view is restricted to users with the ‘add_capital’ permission.

model
permission_required = 'core.add_capital'
success_url
template_name = 'core/delete_general.html'
class seshat.apps.general.views.Polity_religionDetailView

Bases: django.views.generic.DetailView

View for displaying a single Polity_religion instance.

model
template_name = 'general/polity_religion/polity_religion_detail.html'
class seshat.apps.general.views.Polity_religionListView

Bases: django.views.generic.ListView

Paginated view for listing all Polity_religion instances.

get_absolute_url()

Get the absolute URL of the view.

Returns:

The absolute URL of the view.

Return type:

str

get_context_data(**kwargs)

Get the context data of the view.

Noindex:

Parameters:

**kwargs – Arbitrary keyword arguments.

Returns:

The context data of the view.

Return type:

dict

model
paginate_by = 10
template_name = 'general/polity_religion/polity_religion_list.html'
class seshat.apps.general.views.Polity_religionListViewAll

Bases: django.views.generic.ListView

View for listing all Polity_religion instances.

get_absolute_url()

Get the absolute URL of the view.

Returns:

The absolute URL of the view.

Return type:

str

get_context_data(**kwargs)

Get the context data of the view.

Noindex:

Parameters:

**kwargs – Arbitrary keyword arguments.

Returns:

The context data of the view.

Return type:

dict

get_queryset()

Get the queryset of Polity_religion instances.

Returns:

The queryset of Polity_religion instances.

Return type:

QuerySet

model
template_name = 'general/polity_religion/polity_religion_list_all.html'
class seshat.apps.general.views.Polity_religionUpdate

Bases: django.contrib.auth.mixins.PermissionRequiredMixin, django.views.generic.edit.UpdateView

View for updating an existing Polity_religion.

Note

This view is restricted to users with the ‘add_capital’ permission.

get_context_data(**kwargs)

Get the context data of the view.

Noindex:

Parameters:

**kwargs – Arbitrary keyword arguments.

Returns:

The context data of the view.

Return type:

dict

get_form(form_class=None)

Get the form of the view. Sort the choices of the religion field.

Parameters:

form_class – The form class. Defaults to None.

Returns:

The form of the view.

Return type:

Form

form_class
model
permission_required = 'core.add_capital'
template_name = 'general/polity_religion/polity_religion_update.html'
class seshat.apps.general.views.Polity_religion_familyCreate

Bases: django.contrib.auth.mixins.PermissionRequiredMixin, seshat.apps.general.mixins.PolityIdMixin, 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.

get_absolute_url()

Get the absolute URL of the view.

Returns:

The absolute URL of the view.

Return type:

str

get_context_data(**kwargs)

Get the context data of the view.

Noindex:

Parameters:

**kwargs – Arbitrary keyword arguments.

Returns:

The context data of the view.

Return type:

dict

get_form(form_class=None)

Get the form of the view. Sort the choices of the religion_family field.

Parameters:

form_class – The form class. Defaults to None.

Returns:

The form of the view.

Return type:

Form

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.

Return type:

dict

form_class
model
permission_required = 'core.add_capital'
template_name = 'general/polity_religion_family/polity_religion_family_form.html'
class seshat.apps.general.views.Polity_religion_familyDelete

Bases: django.contrib.auth.mixins.PermissionRequiredMixin, 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.

model
permission_required = 'core.add_capital'
success_url
template_name = 'core/delete_general.html'
class seshat.apps.general.views.Polity_religion_familyDetailView

Bases: django.views.generic.DetailView

View for displaying a single Polity_religion_family instance.

model
template_name = 'general/polity_religion_family/polity_religion_family_detail.html'
class seshat.apps.general.views.Polity_religion_familyListView

Bases: django.views.generic.ListView

Paginated view for listing all Polity_religion_family instances.

get_absolute_url()

Get the absolute URL of the view.

Returns:

The absolute URL of the view.

Return type:

str

get_context_data(**kwargs)

Get the context data of the view.

Noindex:

Parameters:

**kwargs – Arbitrary keyword arguments.

Returns:

The context data of the view.

Return type:

dict

model
paginate_by = 10
template_name = 'general/polity_religion_family/polity_religion_family_list.html'
class seshat.apps.general.views.Polity_religion_familyListViewAll

Bases: django.views.generic.ListView

View for listing all Polity_religion_family instances.

get_absolute_url()

Get the absolute URL of the view.

Returns:

The absolute URL of the view.

Return type:

str

get_context_data(**kwargs)

Get the context data of the view.

Noindex:

Parameters:

**kwargs – Arbitrary keyword arguments.

Returns:

The context data of the view.

Return type:

dict

get_queryset()

Get the queryset of Polity_religion_family instances.

Returns:

The queryset of Polity_religion_family instances.

Return type:

QuerySet

model
template_name = 'general/polity_religion_family/polity_religion_family_list_all.html'
class seshat.apps.general.views.Polity_religion_familyUpdate

Bases: django.contrib.auth.mixins.PermissionRequiredMixin, 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.

get_context_data(**kwargs)

Get the context data of the view.

Noindex:

Parameters:

**kwargs – Arbitrary keyword arguments.

Returns:

The context data of the view.

Return type:

dict

get_form(form_class=None)

Get the form of the view. Sort the choices of the religion_family field.

Parameters:

form_class – The form class. Defaults to None.

Returns:

The form of the view.

Return type:

Form

form_class
model
permission_required = 'core.add_capital'
template_name = 'general/polity_religion_family/polity_religion_family_update.html'
class seshat.apps.general.views.Polity_religion_genusCreate

Bases: django.contrib.auth.mixins.PermissionRequiredMixin, seshat.apps.general.mixins.PolityIdMixin, 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.

get_absolute_url()

Get the absolute URL of the view.

Returns:

The absolute URL of the view.

Return type:

str

get_context_data(**kwargs)

Get the context data of the view.

Noindex:

Parameters:

**kwargs – Arbitrary keyword arguments.

Returns:

The context data of the view.

Return type:

dict

get_form(form_class=None)

Get the form of the view. Sort the choices of the religion_genus field.

Parameters:

form_class – The form class. Defaults to None.

Returns:

The form of the view.

Return type:

Form

form_class
model
permission_required = 'core.add_capital'
template_name = 'general/polity_religion_genus/polity_religion_genus_form.html'
class seshat.apps.general.views.Polity_religion_genusDelete

Bases: django.contrib.auth.mixins.PermissionRequiredMixin, 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.

model
permission_required = 'core.add_capital'
success_url
template_name = 'core/delete_general.html'
class seshat.apps.general.views.Polity_religion_genusDetailView

Bases: django.views.generic.DetailView

View for displaying a single Polity_religion_genus instance.

model
template_name = 'general/polity_religion_genus/polity_religion_genus_detail.html'
class seshat.apps.general.views.Polity_religion_genusListView

Bases: django.views.generic.ListView

Paginated view for listing all Polity_religion_genus instances.

get_absolute_url()

Get the absolute URL of the view.

Returns:

The absolute URL of the view.

Return type:

str

get_context_data(**kwargs)

Get the context data of the view.

Noindex:

Parameters:

**kwargs – Arbitrary keyword arguments.

Returns:

The context data of the view.

Return type:

dict

model
paginate_by = 10
template_name = 'general/polity_religion_genus/polity_religion_genus_list.html'
class seshat.apps.general.views.Polity_religion_genusListViewAll

Bases: django.views.generic.ListView

View for listing all Polity_religion_genus instances.

get_absolute_url()

Get the absolute URL of the view.

Returns:

The absolute URL of the view.

Return type:

str

get_context_data(**kwargs)

Get the context data of the view.

Noindex:

Parameters:

**kwargs – Arbitrary keyword arguments.

Returns:

The context data of the view.

Return type:

dict

get_queryset()

Get the queryset of Polity_religion_genus instances.

Returns:

The queryset of Polity_religion_genus instances.

Return type:

QuerySet

model
template_name = 'general/polity_religion_genus/polity_religion_genus_list_all.html'
class seshat.apps.general.views.Polity_religion_genusUpdate

Bases: django.contrib.auth.mixins.PermissionRequiredMixin, 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.

get_context_data(**kwargs)

Get the context data of the view.

Noindex:

Parameters:

**kwargs – Arbitrary keyword arguments.

Returns:

The context data of the view.

Return type:

dict

get_form(form_class=None)

Get the form of the view. Sort the choices of the religion_genus field.

Parameters:

form_class – The form class. Defaults to None.

Returns:

The form of the view.

Return type:

Form

form_class
model
permission_required = 'core.add_capital'
template_name = 'general/polity_religion_genus/polity_religion_genus_update.html'
class seshat.apps.general.views.Polity_religious_traditionCreate

Bases: django.contrib.auth.mixins.PermissionRequiredMixin, seshat.apps.general.mixins.PolityIdMixin, 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.

get_absolute_url()

Get the absolute URL of the view.

Returns:

The absolute URL of the view.

Return type:

str

get_context_data(**kwargs)

Get the context data of the view.

Noindex:

Parameters:

**kwargs – Arbitrary keyword arguments.

Returns:

The context data of the view.

Return type:

dict

form_class
model
permission_required = 'core.add_capital'
template_name = 'general/polity_religious_tradition/polity_religious_tradition_form.html'
class seshat.apps.general.views.Polity_religious_traditionDelete

Bases: django.contrib.auth.mixins.PermissionRequiredMixin, 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.

model
permission_required = 'core.add_capital'
success_url
template_name = 'core/delete_general.html'
class seshat.apps.general.views.Polity_religious_traditionDetailView

Bases: django.views.generic.DetailView

View for displaying a single Polity_religious_tradition instance.

model
template_name = 'general/polity_religious_tradition/polity_religious_tradition_detail.html'
class seshat.apps.general.views.Polity_religious_traditionListView

Bases: django.views.generic.ListView

Paginated view for listing all Polity_religious_tradition instances.

get_absolute_url()

Get the absolute URL of the view.

Returns:

The absolute URL of the view.

Return type:

str

get_context_data(**kwargs)

Get the context data of the view.

Noindex:

Parameters:

**kwargs – Arbitrary keyword arguments.

Returns:

The context data of the view.

Return type:

dict

model
paginate_by = 10
template_name = 'general/polity_religious_tradition/polity_religious_tradition_list.html'
class seshat.apps.general.views.Polity_religious_traditionListViewAll

Bases: django.views.generic.ListView

View for listing all Polity_religious_tradition instances.

get_absolute_url()

Get the absolute URL of the view.

Returns:

The absolute URL of the view.

Return type:

str

get_context_data(**kwargs)

Get the context data of the view.

Noindex:

Parameters:

**kwargs – Arbitrary keyword arguments.

Returns:

The context data of the view.

Return type:

dict

get_queryset()

Get the queryset of Polity_religious_tradition instances.

Returns:

The queryset of Polity_religious_tradition instances.

Return type:

QuerySet

model
template_name = 'general/polity_religious_tradition/polity_religious_tradition_list_all.html'
class seshat.apps.general.views.Polity_religious_traditionUpdate

Bases: django.contrib.auth.mixins.PermissionRequiredMixin, 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.

get_context_data(**kwargs)

Get the context data of the view.

Noindex:

Parameters:

**kwargs – Arbitrary keyword arguments.

Returns:

The context data of the view.

Return type:

dict

form_class
model
permission_required = 'core.add_capital'
template_name = 'general/polity_religious_tradition/polity_religious_tradition_update.html'
class seshat.apps.general.views.Polity_research_assistantCreate

Bases: django.contrib.auth.mixins.PermissionRequiredMixin, 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.

get_absolute_url()

Get the absolute URL of the view.

Returns:

The absolute URL of the view.

Return type:

str

get_context_data(**kwargs)

Get the context data of the view.

Noindex:

Parameters:

**kwargs – Arbitrary keyword arguments.

Returns:

The context data of the view.

Return type:

dict

form_class
model
permission_required = 'core.add_capital'
template_name = 'general/polity_research_assistant/polity_research_assistant_form.html'
class seshat.apps.general.views.Polity_research_assistantDelete

Bases: django.contrib.auth.mixins.PermissionRequiredMixin, 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.

model
permission_required = 'core.add_capital'
success_url
template_name = 'core/delete_general.html'
class seshat.apps.general.views.Polity_research_assistantDetailView

Bases: django.views.generic.DetailView

View for displaying a single Polity_research_assistant instance.

model
template_name = 'general/polity_research_assistant/polity_research_assistant_detail.html'
class seshat.apps.general.views.Polity_research_assistantListView

Bases: django.views.generic.ListView

Paginated view for listing all Polity_research_assistant instances.

get_absolute_url()

Get the absolute URL of the view.

Returns:

The absolute URL of the view.

Return type:

str

get_context_data(**kwargs)

Get the context data of the view.

Noindex:

Parameters:

**kwargs – Arbitrary keyword arguments.

Returns:

The context data of the view.

Return type:

dict

model
paginate_by = 10
template_name = 'general/polity_research_assistant/polity_research_assistant_list.html'
class seshat.apps.general.views.Polity_research_assistantListViewAll

Bases: django.views.generic.ListView

View for listing all Polity_research_assistant instances.

get_absolute_url()

Get the absolute URL of the view.

Returns:

The absolute URL of the view.

Return type:

str

get_context_data(**kwargs)

Get the context data of the view.

Noindex:

Parameters:

**kwargs – Arbitrary keyword arguments.

Returns:

The context data of the view.

Return type:

dict

get_queryset()

Get the queryset of Polity_research_assistant instances.

Returns:

The queryset of Polity_research_assistant instances.

Return type:

QuerySet

model
template_name = 'general/polity_research_assistant/polity_research_assistant_list_all.html'
class seshat.apps.general.views.Polity_research_assistantUpdate

Bases: django.contrib.auth.mixins.PermissionRequiredMixin, 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.

get_context_data(**kwargs)

Get the context data of the view.

Noindex:

Parameters:

**kwargs – Arbitrary keyword arguments.

Returns:

The context data of the view.

Return type:

dict

form_class
model
permission_required = 'core.add_capital'
template_name = 'general/polity_research_assistant/polity_research_assistant_update.html'
class seshat.apps.general.views.Polity_scale_of_supracultural_interactionCreate

Bases: django.contrib.auth.mixins.PermissionRequiredMixin, seshat.apps.general.mixins.PolityIdMixin, 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.

get_absolute_url()

Get the absolute URL of the view.

Returns:

The absolute URL of the view.

Return type:

str

get_context_data(**kwargs)

Get the context data of the view.

Noindex:

Parameters:

**kwargs – Arbitrary keyword arguments.

Returns:

The context data of the view.

Return type:

dict

form_class
model
permission_required = 'core.add_capital'
template_name = 'general/polity_scale_of_supracultural_interaction/polity_scale_of_supracultural_interaction_form.html'
class seshat.apps.general.views.Polity_scale_of_supracultural_interactionDelete

Bases: django.contrib.auth.mixins.PermissionRequiredMixin, 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.

model
permission_required = 'core.add_capital'
success_url
template_name = 'core/delete_general.html'
class seshat.apps.general.views.Polity_scale_of_supracultural_interactionDetailView

Bases: django.views.generic.DetailView

View for displaying a single Polity_scale_of_supracultural_interaction instance.

model
template_name = 'general/polity_scale_of_supracultural_interaction/polity_scale_of_supracultural_interaction_detail.html'
class seshat.apps.general.views.Polity_scale_of_supracultural_interactionListView

Bases: django.views.generic.ListView

Paginated view for listing all Polity_scale_of_supracultural_interaction instances.

get_absolute_url()

Get the absolute URL of the view.

Returns:

The absolute URL of the view.

Return type:

str

get_context_data(**kwargs)

Get the context data of the view.

Noindex:

Parameters:

**kwargs – Arbitrary keyword arguments.

Returns:

The context data of the view.

Return type:

dict

model
paginate_by = 10
template_name = 'general/polity_scale_of_supracultural_interaction/polity_scale_of_supracultural_interaction_list.html'
class seshat.apps.general.views.Polity_scale_of_supracultural_interactionListViewAll

Bases: django.views.generic.ListView

View for listing all Polity_scale_of_supracultural_interaction instances.

get_absolute_url()

Get the absolute URL of the view.

Returns:

The absolute URL of the view.

Return type:

str

get_context_data(**kwargs)

Get the context data of the view.

Noindex:

Parameters:

**kwargs – Arbitrary keyword arguments.

Returns:

The context data of the view.

Return type:

dict

get_queryset()

Get the queryset of Polity_scale_of_supracultural_interaction instances.

Returns:

The queryset of Polity_scale_of_supracultural_interaction instances.

Return type:

QuerySet

model
template_name = 'general/polity_scale_of_supracultural_interaction/polity_scale_of_supracultural_interaction_list...
class seshat.apps.general.views.Polity_scale_of_supracultural_interactionUpdate

Bases: django.contrib.auth.mixins.PermissionRequiredMixin, 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.

get_context_data(**kwargs)

Get the context data of the view.

Noindex:

Parameters:

**kwargs – Arbitrary keyword arguments.

Returns:

The context data of the view.

Return type:

dict

form_class
model
permission_required = 'core.add_capital'
template_name = 'general/polity_scale_of_supracultural_interaction/polity_scale_of_supracultural_interaction_update.html'
class seshat.apps.general.views.Polity_succeeding_entityCreate

Bases: django.contrib.auth.mixins.PermissionRequiredMixin, seshat.apps.general.mixins.PolityIdMixin, 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.

get_absolute_url()

Get the absolute URL of the view.

Returns:

The absolute URL of the view.

Return type:

str

get_context_data(**kwargs)

Get the context data of the view.

Noindex:

Parameters:

**kwargs – Arbitrary keyword arguments.

Returns:

The context data of the view.

Return type:

dict

form_class
model
permission_required = 'core.add_capital'
template_name = 'general/polity_succeeding_entity/polity_succeeding_entity_form.html'
class seshat.apps.general.views.Polity_succeeding_entityDelete

Bases: django.contrib.auth.mixins.PermissionRequiredMixin, 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.

model
permission_required = 'core.add_capital'
success_url
template_name = 'core/delete_general.html'
class seshat.apps.general.views.Polity_succeeding_entityDetailView

Bases: django.views.generic.DetailView

View for displaying a single Polity_succeeding_entity instance.

model
template_name = 'general/polity_succeeding_entity/polity_succeeding_entity_detail.html'
class seshat.apps.general.views.Polity_succeeding_entityListView

Bases: django.views.generic.ListView

Paginated view for listing all Polity_succeeding_entity instances.

get_absolute_url()

Get the absolute URL of the view.

Returns:

The absolute URL of the view.

Return type:

str

get_context_data(**kwargs)

Get the context data of the view.

Noindex:

Parameters:

**kwargs – Arbitrary keyword arguments.

Returns:

The context data of the view.

Return type:

dict

model
paginate_by = 10
template_name = 'general/polity_succeeding_entity/polity_succeeding_entity_list.html'
class seshat.apps.general.views.Polity_succeeding_entityListViewAll

Bases: django.views.generic.ListView

View for listing all Polity_succeeding_entity instances.

get_absolute_url()

Get the absolute URL of the view.

Returns:

The absolute URL of the view.

Return type:

str

get_context_data(**kwargs)

Get the context data of the view.

Noindex:

Parameters:

**kwargs – Arbitrary keyword arguments.

Returns:

The context data of the view.

Return type:

dict

get_queryset()

Get the queryset of Polity_succeeding_entity instances.

Returns:

The queryset of Polity_succeeding_entity instances.

Return type:

QuerySet

model
template_name = 'general/polity_succeeding_entity/polity_succeeding_entity_list_all.html'
class seshat.apps.general.views.Polity_succeeding_entityUpdate

Bases: django.contrib.auth.mixins.PermissionRequiredMixin, 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.

get_context_data(**kwargs)

Get the context data of the view.

Noindex:

Parameters:

**kwargs – Arbitrary keyword arguments.

Returns:

The context data of the view.

Return type:

dict

form_class
model
permission_required = 'core.add_capital'
template_name = 'general/polity_succeeding_entity/polity_succeeding_entity_update.html'
class seshat.apps.general.views.Polity_supracultural_entityCreate

Bases: django.contrib.auth.mixins.PermissionRequiredMixin, seshat.apps.general.mixins.PolityIdMixin, 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.

get_absolute_url()

Get the absolute URL of the view.

Returns:

The absolute URL of the view.

Return type:

str

get_context_data(**kwargs)

Get the context data of the view.

Noindex:

Parameters:

**kwargs – Arbitrary keyword arguments.

Returns:

The context data of the view.

Return type:

dict

form_class
model
permission_required = 'core.add_capital'
template_name = 'general/polity_supracultural_entity/polity_supracultural_entity_form.html'
class seshat.apps.general.views.Polity_supracultural_entityDelete

Bases: django.contrib.auth.mixins.PermissionRequiredMixin, 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.

model
permission_required = 'core.add_capital'
success_url
template_name = 'core/delete_general.html'
class seshat.apps.general.views.Polity_supracultural_entityDetailView

Bases: django.views.generic.DetailView

View for displaying a single Polity_supracultural_entity instance.

model
template_name = 'general/polity_supracultural_entity/polity_supracultural_entity_detail.html'
class seshat.apps.general.views.Polity_supracultural_entityListView

Bases: django.views.generic.ListView

Paginated view for listing all Polity_supracultural_entity instances.

get_absolute_url()

Get the absolute URL of the view.

Returns:

The absolute URL of the view.

Return type:

str

get_context_data(**kwargs)

Get the context data of the view.

Noindex:

Parameters:

**kwargs – Arbitrary keyword arguments.

Returns:

The context data of the view.

Return type:

dict

model
paginate_by = 10
template_name = 'general/polity_supracultural_entity/polity_supracultural_entity_list.html'
class seshat.apps.general.views.Polity_supracultural_entityListViewAll

Bases: django.views.generic.ListView

View for listing all Polity_supracultural_entity instances.

get_absolute_url()

Get the absolute URL of the view.

Returns:

The absolute URL of the view.

Return type:

str

get_context_data(**kwargs)

Get the context data of the view.

Noindex:

Parameters:

**kwargs – Arbitrary keyword arguments.

Returns:

The context data of the view.

Return type:

dict

get_queryset()

Get the queryset of Polity_supracultural_entity instances.

Returns:

The queryset of Polity_supracultural_entity instances.

Return type:

QuerySet

model
template_name = 'general/polity_supracultural_entity/polity_supracultural_entity_list_all.html'
class seshat.apps.general.views.Polity_supracultural_entityUpdate

Bases: django.contrib.auth.mixins.PermissionRequiredMixin, 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.

get_context_data(**kwargs)

Get the context data of the view.

Noindex:

Parameters:

**kwargs – Arbitrary keyword arguments.

Returns:

The context data of the view.

Return type:

dict

form_class
model
permission_required = 'core.add_capital'
template_name = 'general/polity_supracultural_entity/polity_supracultural_entity_update.html'
class seshat.apps.general.views.Polity_suprapolity_relationsCreate

Bases: django.contrib.auth.mixins.PermissionRequiredMixin, seshat.apps.general.mixins.PolityIdMixin, 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.

get_absolute_url()

Get the absolute URL of the view.

Returns:

The absolute URL of the view.

Return type:

str

get_context_data(**kwargs)

Get the context data of the view.

Noindex:

Parameters:

**kwargs – Arbitrary keyword arguments.

Returns:

The context data of the view.

Return type:

dict

get_form(form_class=None)

Get the form of the view. Sort the choices of the supra_polity_relations field.

Parameters:

form_class – The form class. Defaults to None.

Returns:

The form of the view.

Return type:

Form

form_class
model
permission_required = 'core.add_capital'
template_name = 'general/polity_suprapolity_relations/polity_suprapolity_relations_form.html'
class seshat.apps.general.views.Polity_suprapolity_relationsDelete

Bases: django.contrib.auth.mixins.PermissionRequiredMixin, 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.

model
permission_required = 'core.add_capital'
success_url
template_name = 'core/delete_general.html'
class seshat.apps.general.views.Polity_suprapolity_relationsDetailView

Bases: django.views.generic.DetailView

View for displaying a single Polity_suprapolity_relations instance.

model
template_name = 'general/polity_suprapolity_relations/polity_suprapolity_relations_detail.html'
class seshat.apps.general.views.Polity_suprapolity_relationsListView

Bases: django.views.generic.ListView

Paginated view for listing all Polity_suprapolity_relations instances.

get_absolute_url()

Get the absolute URL of the view.

Returns:

The absolute URL of the view.

Return type:

str

get_context_data(**kwargs)

Get the context data of the view.

Noindex:

Parameters:

**kwargs – Arbitrary keyword arguments.

Returns:

The context data of the view.

Return type:

dict

model
paginate_by = 10
template_name = 'general/polity_suprapolity_relations/polity_suprapolity_relations_list.html'
class seshat.apps.general.views.Polity_suprapolity_relationsListViewAll

Bases: django.views.generic.ListView

View for listing all Polity_suprapolity_relations instances.

get_absolute_url()

Get the absolute URL of the view.

Returns:

The absolute URL of the view.

Return type:

str

get_context_data(**kwargs)

Get the context data of the view.

Noindex:

Parameters:

**kwargs – Arbitrary keyword arguments.

Returns:

The context data of the view.

Return type:

dict

get_queryset()

Get the queryset of Polity_suprapolity_relations instances.

Returns:

The queryset of Polity_suprapolity_relations instances.

Return type:

QuerySet

model
template_name = 'general/polity_suprapolity_relations/polity_suprapolity_relations_list_all.html'
class seshat.apps.general.views.Polity_suprapolity_relationsUpdate

Bases: django.contrib.auth.mixins.PermissionRequiredMixin, 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.

get_context_data(**kwargs)

Get the context data of the view.

Noindex:

Parameters:

**kwargs – Arbitrary keyword arguments.

Returns:

The context data of the view.

Return type:

dict

get_form(form_class=None)

Get the form of the view. Sort the choices of the supra_polity_relations field.

Parameters:

form_class – The form class. Defaults to None.

Returns:

The form of the view.

Return type:

Form

form_class
model
permission_required = 'core.add_capital'
template_name = 'general/polity_suprapolity_relations/polity_suprapolity_relations_update.html'
class seshat.apps.general.views.Polity_utm_zoneCreate

Bases: django.contrib.auth.mixins.PermissionRequiredMixin, seshat.apps.general.mixins.PolityIdMixin, 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.

get_absolute_url()

Get the absolute URL of the view.

Returns:

The absolute URL of the view.

Return type:

str

get_context_data(**kwargs)

Get the context data of the view.

Noindex:

Parameters:

**kwargs – Arbitrary keyword arguments.

Returns:

The context data of the view.

Return type:

dict

form_class
model
permission_required = 'core.add_capital'
template_name = 'general/polity_utm_zone/polity_utm_zone_form.html'
class seshat.apps.general.views.Polity_utm_zoneDelete

Bases: django.contrib.auth.mixins.PermissionRequiredMixin, 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.

model
permission_required = 'core.add_capital'
success_url
template_name = 'core/delete_general.html'
class seshat.apps.general.views.Polity_utm_zoneDetailView

Bases: django.views.generic.DetailView

View for displaying a single Polity_utm_zone instance.

model
template_name = 'general/polity_utm_zone/polity_utm_zone_detail.html'
class seshat.apps.general.views.Polity_utm_zoneListView

Bases: django.views.generic.ListView

Paginated view for listing all Polity_utm_zone instances.

get_absolute_url()

Get the absolute URL of the view.

Returns:

The absolute URL of the view.

Return type:

str

get_context_data(**kwargs)

Get the context data of the view.

Noindex:

Parameters:

**kwargs – Arbitrary keyword arguments.

Returns:

The context data of the view.

Return type:

dict

model
paginate_by = 10
template_name = 'general/polity_utm_zone/polity_utm_zone_list.html'
class seshat.apps.general.views.Polity_utm_zoneListViewAll

Bases: django.views.generic.ListView

View for listing all Polity_utm_zone instances.

get_absolute_url()

Get the absolute URL of the view.

Returns:

The absolute URL of the view.

Return type:

str

get_context_data(**kwargs)

Get the context data of the view.

Noindex:

Parameters:

**kwargs – Arbitrary keyword arguments.

Returns:

The context data of the view.

Return type:

dict

get_queryset()

Get the queryset of Polity_utm_zone instances.

Returns:

The queryset of Polity_utm_zone instances.

Return type:

QuerySet

model
template_name = 'general/polity_utm_zone/polity_utm_zone_list_all.html'
class seshat.apps.general.views.Polity_utm_zoneUpdate

Bases: django.contrib.auth.mixins.PermissionRequiredMixin, 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.

get_context_data(**kwargs)

Get the context data of the view.

Noindex:

Parameters:

**kwargs – Arbitrary keyword arguments.

Returns:

The context data of the view.

Return type:

dict

form_class
model
permission_required = 'core.add_capital'
template_name = 'general/polity_utm_zone/polity_utm_zone_update.html'
seshat.apps.general.views.confirm_delete_view(request, model_class, pk, var_name)
seshat.apps.general.views.delete_object_view(request, model_class, pk, var_name)
seshat.apps.general.views.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.

Parameters:

request – The request object.

Returns:

The response object.

Return type:

HttpResponse

seshat.apps.general.views.dynamic_create_view(request, form_class, x_name, coded_value, myvar, my_exp, var_section, var_subsection)
seshat.apps.general.views.dynamic_detail_view(request, pk, model_class, myvar, var_name_display, var_section, var_subsection)
seshat.apps.general.views.dynamic_update_view(request, object_id, form_class, model_class, x_name, coded_value, myvar, my_exp, var_section, var_subsection, delete_url_name)
seshat.apps.general.views.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)
seshat.apps.general.views.generalvars(request)
seshat.apps.general.views.generalvarsold(request)
seshat.apps.general.views.generic_download(request, model_class, var_name)
seshat.apps.general.views.generic_list_view(request, model_class, var_name, coded_value, var_name_display, var_section, var_subsection, var_main_desc)
seshat.apps.general.views.generic_metadata_download(request, var_name, var_name_display, var_section, var_subsection, var_main_desc)
seshat.apps.general.views.has_add_capital_permission(user)
seshat.apps.general.views.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.

Parameters:

request – The request object.

Returns:

The response object.

Return type:

HttpResponse

seshat.apps.general.views.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.

Parameters:

request – The request object.

Returns:

The response object.

Return type:

HttpResponse

seshat.apps.general.views.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.

Parameters:

request – The request object.

Returns:

The response object.

Return type:

HttpResponse

seshat.apps.general.views.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.

Parameters:

request – The request object.

Returns:

The response object.

Return type:

HttpResponse

seshat.apps.general.views.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.

Parameters:

request – The request object.

Returns:

The response object.

Return type:

HttpResponse

seshat.apps.general.views.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.

Parameters:

request – The request object.

Returns:

The response object.

Return type:

HttpResponse

seshat.apps.general.views.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.

Parameters:

request – The request object.

Returns:

The response object.

Return type:

HttpResponse

seshat.apps.general.views.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.

Parameters:

request – The request object.

Returns:

The response object.

Return type:

HttpResponse

seshat.apps.general.views.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.

Parameters:

request – The request object.

Returns:

The response object.

Return type:

HttpResponse

seshat.apps.general.views.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.

Parameters:

request – The request object.

Returns:

The response object.

Return type:

HttpResponse

seshat.apps.general.views.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.

Parameters:

request – The request object.

Returns:

The response object.

Return type:

HttpResponse

seshat.apps.general.views.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.

Parameters:

request – The request object.

Returns:

The response object.

Return type:

HttpResponse

seshat.apps.general.views.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.

Parameters:

request – The request object.

Returns:

The response object.

Return type:

HttpResponse

seshat.apps.general.views.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.

Parameters:

request – The request object.

Returns:

The response object.

Return type:

HttpResponse

seshat.apps.general.views.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.

Parameters:

request – The request object.

Returns:

The response object.

Return type:

HttpResponse

seshat.apps.general.views.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.

Parameters:

request – The request object.

Returns:

The response object.

Return type:

HttpResponse

seshat.apps.general.views.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.

Parameters:

request – The request object.

Returns:

The response object.

Return type:

HttpResponse

seshat.apps.general.views.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.

Parameters:

request – The request object.

Returns:

The response object.

Return type:

HttpResponse

seshat.apps.general.views.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.

Parameters:

request – The request object.

Returns:

The response object.

Return type:

HttpResponse

seshat.apps.general.views.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.

Parameters:

request – The request object.

Returns:

The response object.

Return type:

HttpResponse

seshat.apps.general.views.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.

Parameters:

request – The request object.

Returns:

The response object.

Return type:

HttpResponse

seshat.apps.general.views.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.

Parameters:

request – The request object.

Returns:

The response object.

Return type:

HttpResponse

seshat.apps.general.views.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.

Parameters:

request – The request object.

Returns:

The response object.

Return type:

HttpResponse

seshat.apps.general.views.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.

Parameters:

request – The request object.

Returns:

The response object.

Return type:

HttpResponse

seshat.apps.general.views.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.

Parameters:

request – The request object.

Returns:

The response object.

Return type:

HttpResponse

seshat.apps.general.views.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.

Parameters:

request – The request object.

Returns:

The response object.

Return type:

HttpResponse

seshat.apps.general.views.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.

Parameters:

request – The request object.

Returns:

The response object.

Return type:

HttpResponse

seshat.apps.general.views.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.

Parameters:

request – The request object.

Returns:

The response object.

Return type:

HttpResponse

seshat.apps.general.views.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.

Parameters:

request – The request object.

Returns:

The response object.

Return type:

HttpResponse

seshat.apps.general.views.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.

Parameters:

request – The request object.

Returns:

The response object.

Return type:

HttpResponse

seshat.apps.general.views.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.

Parameters:

request – The request object.

Returns:

The response object.

Return type:

HttpResponse

seshat.apps.general.views.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.

Parameters:

request – The request object.

Returns:

The response object.

Return type:

HttpResponse

seshat.apps.general.views.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.

Parameters:

request – The request object.

Returns:

The response object.

Return type:

HttpResponse

seshat.apps.general.views.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.

Parameters:

request – The request object.

Returns:

The response object.

Return type:

HttpResponse

seshat.apps.general.views.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.

Parameters:

request – The request object.

Returns:

The response object.

Return type:

HttpResponse

seshat.apps.general.views.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.

Parameters:

request – The request object.

Returns:

The response object.

Return type:

HttpResponse

seshat.apps.general.views.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.

Parameters:

request – The request object.

Returns:

The response object.

Return type:

HttpResponse

seshat.apps.general.views.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.

Parameters:

request – The request object.

Returns:

The response object.

Return type:

HttpResponse

seshat.apps.general.views.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.

Parameters:

request – The request object.

Returns:

The response object.

Return type:

HttpResponse

seshat.apps.general.views.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.

Parameters:

request – The request object.

Returns:

The response object.

Return type:

HttpResponse

seshat.apps.general.views.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.

Parameters:

request – The request object.

Returns:

The response object.

Return type:

HttpResponse

seshat.apps.general.views.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.

Parameters:

request – The request object.

Returns:

The response object.

Return type:

HttpResponse

seshat.apps.general.views.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.

Parameters:

request – The request object.

Returns:

The response object.

Return type:

HttpResponse

seshat.apps.general.views.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.

Parameters:

request – The request object.

Returns:

The response object.

Return type:

HttpResponse

seshat.apps.general.views.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.

Parameters:

request – The request object.

Returns:

The response object.

Return type:

HttpResponse

seshat.apps.general.views.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.

Parameters:

request – The request object.

Returns:

The response object.

Return type:

HttpResponse

seshat.apps.general.views.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.

Parameters:

request – The request object.

Returns:

The response object.

Return type:

HttpResponse

seshat.apps.general.views.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.

Parameters:

request – The request object.

Returns:

The response object.

Return type:

HttpResponse

seshat.apps.general.views.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.

Parameters:

request – The request object.

Returns:

The response object.

Return type:

HttpResponse

seshat.apps.general.views.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.

Parameters:

request – The request object.

Returns:

The response object.

Return type:

HttpResponse

seshat.apps.general.views.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.

Parameters:

request – The request object.

Returns:

The response object.

Return type:

HttpResponse

seshat.apps.general.views.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.

Parameters:

request – The request object.

Returns:

The response object.

Return type:

HttpResponse

seshat.apps.general.views.send_test_email()

Send a test email.

Returns:

None