seshat.apps.general.views
Classes
View for creating a new Polity_alternate_religion. |
|
View for deleting an existing Polity_alternate_religion. |
|
View for displaying a single Polity_alternate_religion instance. |
|
Paginated view for listing all Polity_alternate_religion instances. |
|
View for listing all Polity_alternate_religion instances. |
|
View for updating an existing Polity_alternate_religion. |
|
View for creating a new Polity_alternate_religion_family. |
|
View for deleting an existing Polity_alternate_religion_family. |
|
View for displaying a single Polity_alternate_religion_family instance. |
|
Paginated view for listing all Polity_alternate_religion_family instances. |
|
View for listing all Polity_alternate_religion_family instances. |
|
View for updating an existing Polity_alternate_religion_family. |
|
View for creating a new Polity_alternate_religion_genus. |
|
View for deleting an existing Polity_alternate_religion_genus. |
|
View for displaying a single Polity_alternate_religion_genus instance. |
|
Paginated view for listing all Polity_alternate_religion_genus instances. |
|
View for listing all Polity_alternate_religion_genus instances. |
|
View for updating an existing Polity_alternate_religion_genus. |
|
View for creating a new Polity_alternative_name. |
|
View for deleting an existing Polity_alternative_name. |
|
View for displaying a single Polity_alternative_name instance. |
|
Paginated view for listing all Polity_alternative_name instances. |
|
View for listing all Polity_alternative_name instances. |
|
View for updating an existing Polity_alternative_name. |
|
View for creating a new Polity_capital. |
|
View for deleting an existing Polity_capital. |
|
View for displaying a single Polity_capital instance. |
|
Paginated view for listing all Polity_capital instances. |
|
View for listing all Polity_capital instances. |
|
View for updating an existing Polity_capital. |
|
View for creating a new Polity_degree_of_centralization. |
|
View for deleting an existing Polity_degree_of_centralization. |
|
View for displaying a single Polity_degree_of_centralization instance. |
|
Paginated view for listing all Polity_degree_of_centralization instances. |
|
View for listing all Polity_degree_of_centralization instances. |
|
View for updating an existing Polity_degree_of_centralization. |
|
View for creating a new Polity_duration. |
|
View for deleting an existing Polity_duration. |
|
View for displaying a single Polity_duration instance. |
|
Paginated view for listing all Polity_duration instances. |
|
View for listing all Polity_duration instances. |
|
View for updating an existing Polity_duration. |
|
View for creating a new Polity_editor. |
|
View for deleting an existing Polity_editor. |
|
View for displaying a single Polity_editor instance. |
|
Paginated view for listing all Polity_editor instances. |
|
View for listing all Polity_editor instances. |
|
View for updating an existing Polity_editor. |
|
View for creating a new Polity_expert. |
|
View for deleting an existing Polity_expert. |
|
View for displaying a single Polity_expert instance. |
|
Paginated view for listing all Polity_expert instances. |
|
View for listing all Polity_expert instances. |
|
View for updating an existing Polity_expert. |
|
View for creating a new Polity_language. |
|
View for deleting an existing Polity_language. |
|
View for displaying a single Polity_language instance. |
|
Paginated view for listing all Polity_language instances. |
|
View for listing all Polity_language instances. |
|
View for updating an existing Polity_language. |
|
View for creating a new Polity_language_genus. |
|
View for deleting an existing Polity_language_genus. |
|
View for displaying a single Polity_language_genus instance. |
|
Paginated view for listing all Polity_language_genus instances. |
|
View for listing all Polity_language_genus instances. |
|
View for updating an existing Polity_language_genus. |
|
View for creating a new Polity_linguistic_family. |
|
View for deleting an existing Polity_linguistic_family. |
|
View for displaying a single Polity_linguistic_family instance. |
|
Paginated view for listing all Polity_linguistic_family instances. |
|
View for listing all Polity_linguistic_family instances. |
|
View for updating an existing Polity_linguistic_family. |
|
View for creating a new Polity_original_name. |
|
View for deleting an existing Polity_original_name. |
|
View for displaying a single Polity_original_name instance. |
|
Paginated view for listing all Polity_original_name instances. |
|
View for listing all Polity_original_name instances. |
|
View for updating an existing Polity_original_name. |
|
View for creating a new Polity_peak_years. |
|
View for deleting an existing Polity_peak_years. |
|
View for displaying a single Polity_peak_years instance. |
|
Paginated view for listing all Polity_peak_years instances. |
|
View for listing all Polity_peak_years instances. |
|
View for updating an existing Polity_peak_years. |
|
View for creating a new Polity_preceding_entity. |
|
View for deleting an existing Polity_preceding_entity. |
|
View for displaying a single Polity_preceding_entity instance. |
|
Paginated view for listing all Polity_preceding_entity instances. |
|
View for listing all Polity_preceding_entity instances. |
|
View for updating an existing Polity_preceding_entity. |
|
View for creating a new Polity_relationship_to_preceding_entity. |
|
View for deleting an existing Polity_relationship_to_preceding_entity. |
|
View for displaying a single Polity_relationship_to_preceding_entity instance. |
|
Paginated view for listing all Polity_relationship_to_preceding_entity instances. |
|
View for listing all Polity_relationship_to_preceding_entity instances. |
|
View for updating an existing Polity_relationship_to_preceding_entity. |
|
View for creating a new Polity_religion. |
|
View for deleting an existing Polity_religion. |
|
View for displaying a single Polity_religion instance. |
|
Paginated view for listing all Polity_religion instances. |
|
View for listing all Polity_religion instances. |
|
View for updating an existing Polity_religion. |
|
View for creating a new Polity_religion_family. |
|
View for deleting an existing Polity_religion_family. |
|
View for displaying a single Polity_religion_family instance. |
|
Paginated view for listing all Polity_religion_family instances. |
|
View for listing all Polity_religion_family instances. |
|
View for updating an existing Polity_religion_family. |
|
View for creating a new Polity_religion_genus. |
|
View for deleting an existing Polity_religion_genus. |
|
View for displaying a single Polity_religion_genus instance. |
|
Paginated view for listing all Polity_religion_genus instances. |
|
View for listing all Polity_religion_genus instances. |
|
View for updating an existing Polity_religion_genus. |
|
View for creating a new Polity_religious_tradition. |
|
View for deleting an existing Polity_religious_tradition. |
|
View for displaying a single Polity_religious_tradition instance. |
|
Paginated view for listing all Polity_religious_tradition instances. |
|
View for listing all Polity_religious_tradition instances. |
|
View for updating an existing Polity_religious_tradition. |
|
View for creating a new Polity_research_assistant. |
|
View for deleting an existing Polity_research_assistant. |
|
View for displaying a single Polity_research_assistant instance. |
|
Paginated view for listing all Polity_research_assistant instances. |
|
View for listing all Polity_research_assistant instances. |
|
View for updating an existing Polity_research_assistant. |
|
View for creating a new Polity_scale_of_supracultural_interaction. |
|
View for deleting an existing Polity_scale_of_supracultural_interaction. |
|
View for displaying a single Polity_scale_of_supracultural_interaction instance. |
|
Paginated view for listing all Polity_scale_of_supracultural_interaction instances. |
|
View for listing all Polity_scale_of_supracultural_interaction instances. |
|
View for updating an existing Polity_scale_of_supracultural_interaction. |
|
View for creating a new Polity_succeeding_entity. |
|
View for deleting an existing Polity_succeeding_entity. |
|
View for displaying a single Polity_succeeding_entity instance. |
|
Paginated view for listing all Polity_succeeding_entity instances. |
|
View for listing all Polity_succeeding_entity instances. |
|
View for updating an existing Polity_succeeding_entity. |
|
View for creating a new Polity_supracultural_entity. |
|
View for deleting an existing Polity_supracultural_entity. |
|
View for displaying a single Polity_supracultural_entity instance. |
|
Paginated view for listing all Polity_supracultural_entity instances. |
|
View for listing all Polity_supracultural_entity instances. |
|
View for updating an existing Polity_supracultural_entity. |
|
View for creating a new Polity_suprapolity_relations. |
|
View for deleting an existing Polity_suprapolity_relations. |
|
View for displaying a single Polity_suprapolity_relations instance. |
|
Paginated view for listing all Polity_suprapolity_relations instances. |
|
View for listing all Polity_suprapolity_relations instances. |
|
View for updating an existing Polity_suprapolity_relations. |
|
View for creating a new Polity_utm_zone. |
|
View for deleting an existing Polity_utm_zone. |
|
View for displaying a single Polity_utm_zone instance. |
|
Paginated view for listing all Polity_utm_zone instances. |
|
View for listing all Polity_utm_zone instances. |
|
View for updating an existing Polity_utm_zone. |
Functions
|
|
|
|
|
Download a CSV file of all general variables. This includes all models in the "general" app. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Download a CSV file of all Polity_alternate_religion instances. |
Download a CSV file of all Polity_alternate_religion_family instances. |
|
Download a CSV file of the meta data for Polity_alternate_religion_family instances. |
|
Download a CSV file of all Polity_alternate_religion_genus instances. |
|
Download a CSV file of the meta data for Polity_alternate_religion_genus instances. |
|
Download a CSV file of the meta data for Polity_alternate_religion instances. |
|
|
Download a CSV file of all Polity_alternative_name instances. |
Download a CSV file of the meta data for Polity_alternative_name instances. |
|
|
Download a CSV file of all Polity_capital instances. |
|
Download a CSV file of the meta data for Polity_capital instances. |
Download a CSV file of all Polity_degree_of_centralization instances. |
|
Download a CSV file of the meta data for Polity_degree_of_centralization instances. |
|
|
Download a CSV file of all Polity_duration instances. |
|
Download a CSV file of the meta data for Polity_duration instances. |
|
Download a CSV file of all Polity_editor instances. |
|
Download a CSV file of the meta data for Polity_editor instances. |
|
Download a CSV file of all Polity_expert instances. |
|
Download a CSV file of the meta data for Polity_expert instances. |
|
Download a CSV file of all Polity_language instances. |
|
Download a CSV file of all Polity_language_genus instances. |
|
Download a CSV file of the meta data for Polity_language_genus instances. |
|
Download a CSV file of the meta data for Polity_language instances. |
|
Download a CSV file of all Polity_linguistic_family instances. |
Download a CSV file of the meta data for Polity_linguistic_family instances. |
|
|
Download a CSV file of all Polity_original_name instances. |
|
Download a CSV file of the meta data for Polity_original_name instances. |
|
Download a CSV file of all Polity_peak_years instances. |
|
Download a CSV file of the meta data for Polity_peak_years instances. |
|
Download a CSV file of all Polity_preceding_entity instances. |
Download a CSV file of the meta data for Polity_preceding_entity instances. |
|
Download a CSV file of all Polity_relationship_to_preceding_entity instances. |
|
|
Download a CSV file of the meta data for Polity_relationship_to_preceding_entity instances. |
|
Download a CSV file of all Polity_religion instances. |
|
Download a CSV file of all Polity_religion_family instances. |
|
Download a CSV file of the meta data for Polity_religion_family instances. |
|
Download a CSV file of all Polity_religion_genus instances. |
|
Download a CSV file of the meta data for Polity_religion_genus instances. |
|
Download a CSV file of the meta data for Polity_religion instances. |
|
Download a CSV file of all Polity_religious_tradition instances. |
Download a CSV file of the meta data for Polity_religious_tradition instances. |
|
|
Download a CSV file of all Polity_research_assistant instances. |
Download a CSV file of the meta data for Polity_research_assistant instances. |
|
Download a CSV file of all Polity_scale_of_supracultural_interaction instances. |
|
|
Download a CSV file of the meta data for Polity_scale_of_supracultural_interaction instances. |
|
Download a CSV file of all Polity_succeeding_entity instances. |
Download a CSV file of the meta data for Polity_succeeding_entity instances. |
|
|
Download a CSV file of all Polity_supracultural_entity instances. |
Download a CSV file of the meta data for Polity_supracultural_entity instances. |
|
Download a CSV file of all Polity_suprapolity_relations instances. |
|
Download a CSV file of the meta data for Polity_suprapolity_relations instances. |
|
|
Download a CSV file of all Polity_utm_zone instances. |
|
Download a CSV file of the meta data for Polity_utm_zone instances. |
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.CreateViewView 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.DeleteViewView 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.DetailViewView 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.ListViewPaginated 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.ListViewView 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.UpdateViewView 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.CreateViewView 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.DeleteViewView 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.DetailViewView 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.ListViewPaginated 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.ListViewView 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.UpdateViewView 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.CreateViewView 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.DeleteViewView 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.DetailViewView 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.ListViewPaginated 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.ListViewView 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.UpdateViewView 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.CreateViewView 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.DeleteViewView 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.DetailViewView 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.ListViewPaginated 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.ListViewView 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.UpdateViewView 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.CreateViewView 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.DeleteViewView 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.DetailViewView 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.ListViewPaginated 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.ListViewView 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.UpdateViewView 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.CreateViewView 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.DeleteViewView 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.DetailViewView 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.ListViewPaginated 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.ListViewView 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.UpdateViewView 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.CreateViewView 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.DeleteViewView 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.DetailViewView 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.ListViewPaginated 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.ListViewView 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.UpdateViewView 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.CreateViewView 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.DeleteViewView 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.DetailViewView 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.ListViewPaginated 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.ListViewView 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.UpdateViewView 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.CreateViewView 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.DeleteViewView 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.DetailViewView 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.ListViewPaginated 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.ListViewView 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.UpdateViewView 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.CreateViewView 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.DeleteViewView 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.DetailViewView 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.ListViewPaginated 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.ListViewView 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.UpdateViewView 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.CreateViewView 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.DeleteViewView 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.DetailViewView 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.ListViewPaginated 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.ListViewView 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.UpdateViewView 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.CreateViewView 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.DeleteViewView 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.DetailViewView 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.ListViewPaginated 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.ListViewView 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.UpdateViewView 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.CreateViewView 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.DeleteViewView 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.DetailViewView 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.ListViewPaginated 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.ListViewView 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.UpdateViewView 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.CreateViewView 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.DeleteViewView 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.DetailViewView 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.ListViewPaginated 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.ListViewView 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.UpdateViewView 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.CreateViewView 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.DeleteViewView 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.DetailViewView 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.ListViewPaginated 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.ListViewView 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.UpdateViewView 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.CreateViewView 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.DeleteViewView 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.DetailViewView 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.ListViewPaginated 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.ListViewView 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.UpdateViewView 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.CreateViewView 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.DeleteViewView 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.DetailViewView 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.ListViewPaginated 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.ListViewView 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.UpdateViewView 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.CreateViewView 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.DeleteViewView 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.DetailViewView 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.ListViewPaginated 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.ListViewView 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.UpdateViewView 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.CreateViewView 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.DeleteViewView 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.DetailViewView 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.ListViewPaginated 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.ListViewView 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.UpdateViewView 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.CreateViewView 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.DeleteViewView 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.DetailViewView 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.ListViewPaginated 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.ListViewView 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.UpdateViewView 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.CreateViewView 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.DeleteViewView 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.DetailViewView 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.ListViewPaginated 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.ListViewView 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.UpdateViewView 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.CreateViewView 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.DeleteViewView 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.DetailViewView 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.ListViewPaginated 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.ListViewView 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.UpdateViewView 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.CreateViewView 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.DeleteViewView 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.DetailViewView 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.ListViewPaginated 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.ListViewView 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.UpdateViewView 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.CreateViewView 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.DeleteViewView 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.DetailViewView 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.ListViewPaginated 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.ListViewView 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.UpdateViewView 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.CreateViewView 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.DeleteViewView 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.DetailViewView 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.ListViewPaginated 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.ListViewView 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.UpdateViewView 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.CreateViewView 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.DeleteViewView 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.DetailViewView 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.ListViewPaginated 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.ListViewView 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.UpdateViewView 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