seshat.apps.rt.models

Attributes

FREQUENCY_CHOICES

ORDER_CHOICES

PREVALENCE_CHOICES

Classes

Elites_religion

Gov_dis_rel_grp_occ_fun

Gov_obl_rel_grp_ofc_reco

Gov_press_conv

Gov_press_conv_for_aga

Gov_res_cir_rel_lit

Gov_res_cons_rel_buil

Gov_res_conv

Gov_res_prop_own_for_rel_grp

Gov_res_pub_pros

Gov_res_pub_wor

Gov_res_rel_edu

Gov_vio_freq_rel_grp

Official_religion

Religious_fragmentation

Soc_dis_rel_grp_occ_fun

Soc_vio_freq_rel_grp

Sync_rel_pra_ind_beli

Tax_rel_adh_act_ins

Theo_sync_dif_rel

Widespread_religion

Functions

call_my_name(self)

This function is used to return the name of the model instance (in lieu of

clean_times(self)

This function is used to validate the year_from and year_to fields of the

return_citations(self)

This function is used to return the citations of the model instance

Module Contents

class seshat.apps.rt.models.Elites_religion

Bases: seshat.apps.core.models.SeshatCommon

class Meta
Noindex:

verbose_name = 'Elites_religion'
verbose_name_plural = 'Elites_religions'
clean_name()

Return the name of the model instance.

Noindex:

Note

TODO This method should probably just be an attribute set on the model instead.

Returns:

The name of the model instance.

Return type:

str

clean_name_spaced()

Return the name of the model instance with spaces.

Note

TODO This method should probably just be an attribute set on the model instead.

get_absolute_url()

Returns the url to access a particular instance of the model.

Noindex:

Returns:

A string of the url to access a particular instance of the model.

Return type:

str

show_value()
show_value_from()
show_value_to()
sub_subsection()
subsection()
coded_value
property display_citations

Display the citations of the model instance.

Noindex:

Note

The method is a property, and an alias for the return_citations function.

Returns:

The citations of the model instance, separated by comma.

Return type:

str

name
class seshat.apps.rt.models.Gov_dis_rel_grp_occ_fun

Bases: seshat.apps.core.models.SeshatCommon

class Meta
Noindex:

ordering = ['year_from', 'year_to']
verbose_name = 'Gov_dis_rel_grp_occ_fun'
verbose_name_plural = 'Government Discrimination Against Religious Groups Taking up Certain Occupations or Functionss'
clean()

Validate the year_from and year_to fields of the model instance.

Noindex:

Note

The method an alias for the clean_times function.

Returns:

None

Raises:
  • ValidationError – If the year_from is greater than the year_to.

  • ValidationError – If the year_from is out of range.

  • ValidationError – If the year_from is earlier than the start year of the corresponding polity.

  • ValidationError – If the year_to is later than the end year of the corresponding polity.

  • ValidationError – If the year_to is out of range.

clean_name()

Return the name of the model instance.

Noindex:

Note

TODO This method should probably just be an attribute set on the model instead.

Returns:

The name of the model instance.

Return type:

str

clean_name_spaced()

Return the name of the model instance with spaces.

Note

TODO This method should probably just be an attribute set on the model instead.

get_absolute_url()

Returns the url to access a particular instance of the model.

Noindex:

Returns:

A string of the url to access a particular instance of the model.

Return type:

str

show_value()
show_value_from()
show_value_to()
sub_subsection()
subsection()
coded_value
property display_citations

Display the citations of the model instance.

Noindex:

Note

The method is a property, and an alias for the return_citations function.

Returns:

The citations of the model instance, separated by comma.

Return type:

str

name
class seshat.apps.rt.models.Gov_obl_rel_grp_ofc_reco

Bases: seshat.apps.core.models.SeshatCommon

class Meta
Noindex:

ordering = ['year_from', 'year_to']
verbose_name = 'Gov_obl_rel_grp_ofc_reco'
verbose_name_plural = 'Governmental Obligations for Religious Groups to Apply for Official Recognitions'
clean()

Validate the year_from and year_to fields of the model instance.

Noindex:

Note

The method an alias for the clean_times function.

Returns:

None

Raises:
  • ValidationError – If the year_from is greater than the year_to.

  • ValidationError – If the year_from is out of range.

  • ValidationError – If the year_from is earlier than the start year of the corresponding polity.

  • ValidationError – If the year_to is later than the end year of the corresponding polity.

  • ValidationError – If the year_to is out of range.

clean_name()

Return the name of the model instance.

Noindex:

Note

TODO This method should probably just be an attribute set on the model instead.

Returns:

The name of the model instance.

Return type:

str

clean_name_spaced()

Return the name of the model instance with spaces.

Note

TODO This method should probably just be an attribute set on the model instead.

get_absolute_url()

Returns the url to access a particular instance of the model.

Noindex:

Returns:

A string of the url to access a particular instance of the model.

Return type:

str

show_value()
show_value_from()
show_value_to()
sub_subsection()
subsection()
coded_value
property display_citations

Display the citations of the model instance.

Noindex:

Note

The method is a property, and an alias for the return_citations function.

Returns:

The citations of the model instance, separated by comma.

Return type:

str

name
class seshat.apps.rt.models.Gov_press_conv

Bases: seshat.apps.core.models.SeshatCommon

class Meta
Noindex:

ordering = ['year_from', 'year_to']
verbose_name = 'Gov_press_conv'
verbose_name_plural = 'Government Pressure to Converts'
clean()

Validate the year_from and year_to fields of the model instance.

Noindex:

Note

The method an alias for the clean_times function.

Returns:

None

Raises:
  • ValidationError – If the year_from is greater than the year_to.

  • ValidationError – If the year_from is out of range.

  • ValidationError – If the year_from is earlier than the start year of the corresponding polity.

  • ValidationError – If the year_to is later than the end year of the corresponding polity.

  • ValidationError – If the year_to is out of range.

clean_name()

Return the name of the model instance.

Noindex:

Note

TODO This method should probably just be an attribute set on the model instead.

Returns:

The name of the model instance.

Return type:

str

clean_name_spaced()

Return the name of the model instance with spaces.

Note

TODO This method should probably just be an attribute set on the model instead.

get_absolute_url()

Returns the url to access a particular instance of the model.

Noindex:

Returns:

A string of the url to access a particular instance of the model.

Return type:

str

show_value()
show_value_from()
show_value_to()
sub_subsection()
subsection()
coded_value
property display_citations

Display the citations of the model instance.

Noindex:

Note

The method is a property, and an alias for the return_citations function.

Returns:

The citations of the model instance, separated by comma.

Return type:

str

name
class seshat.apps.rt.models.Gov_press_conv_for_aga

Bases: seshat.apps.core.models.SeshatCommon

class Meta
Noindex:

ordering = ['year_from', 'year_to']
verbose_name = 'Gov_press_conv_for_aga'
verbose_name_plural = 'Societal Pressure to Convert or Against Conversions'
clean()

Validate the year_from and year_to fields of the model instance.

Noindex:

Note

The method an alias for the clean_times function.

Returns:

None

Raises:
  • ValidationError – If the year_from is greater than the year_to.

  • ValidationError – If the year_from is out of range.

  • ValidationError – If the year_from is earlier than the start year of the corresponding polity.

  • ValidationError – If the year_to is later than the end year of the corresponding polity.

  • ValidationError – If the year_to is out of range.

clean_name()

Return the name of the model instance.

Noindex:

Note

TODO This method should probably just be an attribute set on the model instead.

Returns:

The name of the model instance.

Return type:

str

clean_name_spaced()

Return the name of the model instance with spaces.

Note

TODO This method should probably just be an attribute set on the model instead.

get_absolute_url()

Returns the url to access a particular instance of the model.

Noindex:

Returns:

A string of the url to access a particular instance of the model.

Return type:

str

show_value()
show_value_from()
show_value_to()
sub_subsection()
subsection()
coded_value
property display_citations

Display the citations of the model instance.

Noindex:

Note

The method is a property, and an alias for the return_citations function.

Returns:

The citations of the model instance, separated by comma.

Return type:

str

name
class seshat.apps.rt.models.Gov_res_cir_rel_lit

Bases: seshat.apps.core.models.SeshatCommon

class Meta
Noindex:

ordering = ['year_from', 'year_to']
verbose_name = 'Gov_res_cir_rel_lit'
verbose_name_plural = 'Government Restrictions on Circulation of Religious Literatures'
clean()

Validate the year_from and year_to fields of the model instance.

Noindex:

Note

The method an alias for the clean_times function.

Returns:

None

Raises:
  • ValidationError – If the year_from is greater than the year_to.

  • ValidationError – If the year_from is out of range.

  • ValidationError – If the year_from is earlier than the start year of the corresponding polity.

  • ValidationError – If the year_to is later than the end year of the corresponding polity.

  • ValidationError – If the year_to is out of range.

clean_name()

Return the name of the model instance.

Noindex:

Note

TODO This method should probably just be an attribute set on the model instead.

Returns:

The name of the model instance.

Return type:

str

clean_name_spaced()

Return the name of the model instance with spaces.

Note

TODO This method should probably just be an attribute set on the model instead.

get_absolute_url()

Returns the url to access a particular instance of the model.

Noindex:

Returns:

A string of the url to access a particular instance of the model.

Return type:

str

show_value()
show_value_from()
show_value_to()
sub_subsection()
subsection()
coded_value
property display_citations

Display the citations of the model instance.

Noindex:

Note

The method is a property, and an alias for the return_citations function.

Returns:

The citations of the model instance, separated by comma.

Return type:

str

name
class seshat.apps.rt.models.Gov_res_cons_rel_buil

Bases: seshat.apps.core.models.SeshatCommon

class Meta
Noindex:

ordering = ['year_from', 'year_to']
verbose_name = 'Gov_res_cons_rel_buil'
verbose_name_plural = 'Government Restrictions on Construction of Religious Buildingss'
clean()

Validate the year_from and year_to fields of the model instance.

Noindex:

Note

The method an alias for the clean_times function.

Returns:

None

Raises:
  • ValidationError – If the year_from is greater than the year_to.

  • ValidationError – If the year_from is out of range.

  • ValidationError – If the year_from is earlier than the start year of the corresponding polity.

  • ValidationError – If the year_to is later than the end year of the corresponding polity.

  • ValidationError – If the year_to is out of range.

clean_name()

Return the name of the model instance.

Noindex:

Note

TODO This method should probably just be an attribute set on the model instead.

Returns:

The name of the model instance.

Return type:

str

clean_name_spaced()

Return the name of the model instance with spaces.

Note

TODO This method should probably just be an attribute set on the model instead.

get_absolute_url()

Returns the url to access a particular instance of the model.

Noindex:

Returns:

A string of the url to access a particular instance of the model.

Return type:

str

show_value()
show_value_from()
show_value_to()
sub_subsection()
subsection()
coded_value
property display_citations

Display the citations of the model instance.

Noindex:

Note

The method is a property, and an alias for the return_citations function.

Returns:

The citations of the model instance, separated by comma.

Return type:

str

name
class seshat.apps.rt.models.Gov_res_conv

Bases: seshat.apps.core.models.SeshatCommon

class Meta
Noindex:

ordering = ['year_from', 'year_to']
verbose_name = 'Gov_res_conv'
verbose_name_plural = 'Government Restrictions on Conversions'
clean()

Validate the year_from and year_to fields of the model instance.

Noindex:

Note

The method an alias for the clean_times function.

Returns:

None

Raises:
  • ValidationError – If the year_from is greater than the year_to.

  • ValidationError – If the year_from is out of range.

  • ValidationError – If the year_from is earlier than the start year of the corresponding polity.

  • ValidationError – If the year_to is later than the end year of the corresponding polity.

  • ValidationError – If the year_to is out of range.

clean_name()

Return the name of the model instance.

Noindex:

Note

TODO This method should probably just be an attribute set on the model instead.

Returns:

The name of the model instance.

Return type:

str

clean_name_spaced()

Return the name of the model instance with spaces.

Note

TODO This method should probably just be an attribute set on the model instead.

get_absolute_url()

Returns the url to access a particular instance of the model.

Noindex:

Returns:

A string of the url to access a particular instance of the model.

Return type:

str

show_value()
show_value_from()
show_value_to()
sub_subsection()
subsection()
coded_value
property display_citations

Display the citations of the model instance.

Noindex:

Note

The method is a property, and an alias for the return_citations function.

Returns:

The citations of the model instance, separated by comma.

Return type:

str

name
class seshat.apps.rt.models.Gov_res_prop_own_for_rel_grp

Bases: seshat.apps.core.models.SeshatCommon

class Meta
Noindex:

ordering = ['year_from', 'year_to']
verbose_name = 'Gov_res_prop_own_for_rel_grp'
verbose_name_plural = 'Government Restrictions on Property Ownership for Adherents of Any Religious Groups'
clean()

Validate the year_from and year_to fields of the model instance.

Noindex:

Note

The method an alias for the clean_times function.

Returns:

None

Raises:
  • ValidationError – If the year_from is greater than the year_to.

  • ValidationError – If the year_from is out of range.

  • ValidationError – If the year_from is earlier than the start year of the corresponding polity.

  • ValidationError – If the year_to is later than the end year of the corresponding polity.

  • ValidationError – If the year_to is out of range.

clean_name()

Return the name of the model instance.

Noindex:

Note

TODO This method should probably just be an attribute set on the model instead.

Returns:

The name of the model instance.

Return type:

str

clean_name_spaced()

Return the name of the model instance with spaces.

Note

TODO This method should probably just be an attribute set on the model instead.

get_absolute_url()

Returns the url to access a particular instance of the model.

Noindex:

Returns:

A string of the url to access a particular instance of the model.

Return type:

str

show_value()
show_value_from()
show_value_to()
sub_subsection()
subsection()
coded_value
property display_citations

Display the citations of the model instance.

Noindex:

Note

The method is a property, and an alias for the return_citations function.

Returns:

The citations of the model instance, separated by comma.

Return type:

str

name
class seshat.apps.rt.models.Gov_res_pub_pros

Bases: seshat.apps.core.models.SeshatCommon

class Meta
Noindex:

ordering = ['year_from', 'year_to']
verbose_name = 'Gov_res_pub_pros'
verbose_name_plural = 'Government Restrictions on Public Proselytizings'
clean()

Validate the year_from and year_to fields of the model instance.

Noindex:

Note

The method an alias for the clean_times function.

Returns:

None

Raises:
  • ValidationError – If the year_from is greater than the year_to.

  • ValidationError – If the year_from is out of range.

  • ValidationError – If the year_from is earlier than the start year of the corresponding polity.

  • ValidationError – If the year_to is later than the end year of the corresponding polity.

  • ValidationError – If the year_to is out of range.

clean_name()

Return the name of the model instance.

Noindex:

Note

TODO This method should probably just be an attribute set on the model instead.

Returns:

The name of the model instance.

Return type:

str

clean_name_spaced()

Return the name of the model instance with spaces.

Note

TODO This method should probably just be an attribute set on the model instead.

get_absolute_url()

Returns the url to access a particular instance of the model.

Noindex:

Returns:

A string of the url to access a particular instance of the model.

Return type:

str

show_value()
show_value_from()
show_value_to()
sub_subsection()
subsection()
coded_value
property display_citations

Display the citations of the model instance.

Noindex:

Note

The method is a property, and an alias for the return_citations function.

Returns:

The citations of the model instance, separated by comma.

Return type:

str

name
class seshat.apps.rt.models.Gov_res_pub_wor

Bases: seshat.apps.core.models.SeshatCommon

class Meta
Noindex:

ordering = ['year_from', 'year_to']
verbose_name = 'Gov_res_pub_wor'
verbose_name_plural = 'Government Restrictions on Public Worships'
clean()

Validate the year_from and year_to fields of the model instance.

Noindex:

Note

The method an alias for the clean_times function.

Returns:

None

Raises:
  • ValidationError – If the year_from is greater than the year_to.

  • ValidationError – If the year_from is out of range.

  • ValidationError – If the year_from is earlier than the start year of the corresponding polity.

  • ValidationError – If the year_to is later than the end year of the corresponding polity.

  • ValidationError – If the year_to is out of range.

clean_name()

Return the name of the model instance.

Noindex:

Note

TODO This method should probably just be an attribute set on the model instead.

Returns:

The name of the model instance.

Return type:

str

clean_name_spaced()

Return the name of the model instance with spaces.

Note

TODO This method should probably just be an attribute set on the model instead.

get_absolute_url()

Returns the url to access a particular instance of the model.

Noindex:

Returns:

A string of the url to access a particular instance of the model.

Return type:

str

show_value()
show_value_from()
show_value_to()
sub_subsection()
subsection()
coded_value
property display_citations

Display the citations of the model instance.

Noindex:

Note

The method is a property, and an alias for the return_citations function.

Returns:

The citations of the model instance, separated by comma.

Return type:

str

name
class seshat.apps.rt.models.Gov_res_rel_edu

Bases: seshat.apps.core.models.SeshatCommon

class Meta
Noindex:

ordering = ['year_from', 'year_to']
verbose_name = 'Gov_res_rel_edu'
verbose_name_plural = 'Government Restrictions on Religious Educations'
clean()

Validate the year_from and year_to fields of the model instance.

Noindex:

Note

The method an alias for the clean_times function.

Returns:

None

Raises:
  • ValidationError – If the year_from is greater than the year_to.

  • ValidationError – If the year_from is out of range.

  • ValidationError – If the year_from is earlier than the start year of the corresponding polity.

  • ValidationError – If the year_to is later than the end year of the corresponding polity.

  • ValidationError – If the year_to is out of range.

clean_name()

Return the name of the model instance.

Noindex:

Note

TODO This method should probably just be an attribute set on the model instead.

Returns:

The name of the model instance.

Return type:

str

clean_name_spaced()

Return the name of the model instance with spaces.

Note

TODO This method should probably just be an attribute set on the model instead.

get_absolute_url()

Returns the url to access a particular instance of the model.

Noindex:

Returns:

A string of the url to access a particular instance of the model.

Return type:

str

show_value()
show_value_from()
show_value_to()
sub_subsection()
subsection()
coded_value
property display_citations

Display the citations of the model instance.

Noindex:

Note

The method is a property, and an alias for the return_citations function.

Returns:

The citations of the model instance, separated by comma.

Return type:

str

name
class seshat.apps.rt.models.Gov_vio_freq_rel_grp

Bases: seshat.apps.core.models.SeshatCommon

class Meta
Noindex:

ordering = ['year_from', 'year_to']
verbose_name = 'Gov_vio_freq_rel_grp'
verbose_name_plural = 'Frequency of Governmental Violence Against Religious Groupss'
clean()

Validate the year_from and year_to fields of the model instance.

Noindex:

Note

The method an alias for the clean_times function.

Returns:

None

Raises:
  • ValidationError – If the year_from is greater than the year_to.

  • ValidationError – If the year_from is out of range.

  • ValidationError – If the year_from is earlier than the start year of the corresponding polity.

  • ValidationError – If the year_to is later than the end year of the corresponding polity.

  • ValidationError – If the year_to is out of range.

clean_name()

Return the name of the model instance.

Noindex:

Note

TODO This method should probably just be an attribute set on the model instead.

Returns:

The name of the model instance.

Return type:

str

clean_name_spaced()

Return the name of the model instance with spaces.

Note

TODO This method should probably just be an attribute set on the model instead.

get_absolute_url()

Returns the url to access a particular instance of the model.

Noindex:

Returns:

A string of the url to access a particular instance of the model.

Return type:

str

show_value()
show_value_from()
show_value_to()
sub_subsection()
subsection()
coded_value
property display_citations

Display the citations of the model instance.

Noindex:

Note

The method is a property, and an alias for the return_citations function.

Returns:

The citations of the model instance, separated by comma.

Return type:

str

name
class seshat.apps.rt.models.Official_religion

Bases: seshat.apps.core.models.SeshatCommon

class Meta
Noindex:

verbose_name = 'Official_religion'
verbose_name_plural = 'Official_religions'
clean_name()

Return the name of the model instance.

Noindex:

Note

TODO This method should probably just be an attribute set on the model instead.

Returns:

The name of the model instance.

Return type:

str

clean_name_spaced()

Return the name of the model instance with spaces.

Note

TODO This method should probably just be an attribute set on the model instead.

get_absolute_url()

Returns the url to access a particular instance of the model.

Noindex:

Returns:

A string of the url to access a particular instance of the model.

Return type:

str

show_value()
show_value_from()
show_value_to()
sub_subsection()
subsection()
coded_value
property display_citations

Display the citations of the model instance.

Noindex:

Note

The method is a property, and an alias for the return_citations function.

Returns:

The citations of the model instance, separated by comma.

Return type:

str

name
class seshat.apps.rt.models.Religious_fragmentation

Bases: seshat.apps.core.models.SeshatCommon

class Meta
Noindex:

ordering = ['year_from', 'year_to']
verbose_name = 'Religious_fragmentation'
verbose_name_plural = 'Religious Fragmentations'
clean()

Validate the year_from and year_to fields of the model instance.

Noindex:

Note

The method an alias for the clean_times function.

Returns:

None

Raises:
  • ValidationError – If the year_from is greater than the year_to.

  • ValidationError – If the year_from is out of range.

  • ValidationError – If the year_from is earlier than the start year of the corresponding polity.

  • ValidationError – If the year_to is later than the end year of the corresponding polity.

  • ValidationError – If the year_to is out of range.

clean_name()

Return the name of the model instance.

Noindex:

Note

TODO This method should probably just be an attribute set on the model instead.

Returns:

The name of the model instance.

Return type:

str

clean_name_spaced()

Return the name of the model instance with spaces.

Note

TODO This method should probably just be an attribute set on the model instead.

get_absolute_url()

Returns the url to access a particular instance of the model.

Noindex:

Returns:

A string of the url to access a particular instance of the model.

Return type:

str

show_value()
show_value_from()
show_value_to()
sub_subsection()
subsection()
coded_value
property display_citations

Display the citations of the model instance.

Noindex:

Note

The method is a property, and an alias for the return_citations function.

Returns:

The citations of the model instance, separated by comma.

Return type:

str

name
class seshat.apps.rt.models.Soc_dis_rel_grp_occ_fun

Bases: seshat.apps.core.models.SeshatCommon

class Meta
Noindex:

ordering = ['year_from', 'year_to']
verbose_name = 'Soc_dis_rel_grp_occ_fun'
verbose_name_plural = 'Societal Discrimination Against Religious Groups Taking up Certain Occupations or Functionss'
clean()

Validate the year_from and year_to fields of the model instance.

Noindex:

Note

The method an alias for the clean_times function.

Returns:

None

Raises:
  • ValidationError – If the year_from is greater than the year_to.

  • ValidationError – If the year_from is out of range.

  • ValidationError – If the year_from is earlier than the start year of the corresponding polity.

  • ValidationError – If the year_to is later than the end year of the corresponding polity.

  • ValidationError – If the year_to is out of range.

clean_name()

Return the name of the model instance.

Noindex:

Note

TODO This method should probably just be an attribute set on the model instead.

Returns:

The name of the model instance.

Return type:

str

clean_name_spaced()

Return the name of the model instance with spaces.

Note

TODO This method should probably just be an attribute set on the model instead.

get_absolute_url()

Returns the url to access a particular instance of the model.

Noindex:

Returns:

A string of the url to access a particular instance of the model.

Return type:

str

show_value()
show_value_from()
show_value_to()
sub_subsection()
subsection()
coded_value
property display_citations

Display the citations of the model instance.

Noindex:

Note

The method is a property, and an alias for the return_citations function.

Returns:

The citations of the model instance, separated by comma.

Return type:

str

name
class seshat.apps.rt.models.Soc_vio_freq_rel_grp

Bases: seshat.apps.core.models.SeshatCommon

class Meta
Noindex:

ordering = ['year_from', 'year_to']
verbose_name = 'Soc_vio_freq_rel_grp'
verbose_name_plural = 'Frequency of Societal Violence Against Religious Groupss'
clean()

Validate the year_from and year_to fields of the model instance.

Noindex:

Note

The method an alias for the clean_times function.

Returns:

None

Raises:
  • ValidationError – If the year_from is greater than the year_to.

  • ValidationError – If the year_from is out of range.

  • ValidationError – If the year_from is earlier than the start year of the corresponding polity.

  • ValidationError – If the year_to is later than the end year of the corresponding polity.

  • ValidationError – If the year_to is out of range.

clean_name()

Return the name of the model instance.

Noindex:

Note

TODO This method should probably just be an attribute set on the model instead.

Returns:

The name of the model instance.

Return type:

str

clean_name_spaced()

Return the name of the model instance with spaces.

Note

TODO This method should probably just be an attribute set on the model instead.

get_absolute_url()

Returns the url to access a particular instance of the model.

Noindex:

Returns:

A string of the url to access a particular instance of the model.

Return type:

str

show_value()
show_value_from()
show_value_to()
sub_subsection()
subsection()
coded_value
property display_citations

Display the citations of the model instance.

Noindex:

Note

The method is a property, and an alias for the return_citations function.

Returns:

The citations of the model instance, separated by comma.

Return type:

str

name
class seshat.apps.rt.models.Sync_rel_pra_ind_beli

Bases: seshat.apps.core.models.SeshatCommon

class Meta
Noindex:

ordering = ['year_from', 'year_to']
verbose_name = 'Sync_rel_pra_ind_beli'
verbose_name_plural = 'Syncretism of Religious Practices at the Level of Individual Believerss'
clean()

Validate the year_from and year_to fields of the model instance.

Noindex:

Note

The method an alias for the clean_times function.

Returns:

None

Raises:
  • ValidationError – If the year_from is greater than the year_to.

  • ValidationError – If the year_from is out of range.

  • ValidationError – If the year_from is earlier than the start year of the corresponding polity.

  • ValidationError – If the year_to is later than the end year of the corresponding polity.

  • ValidationError – If the year_to is out of range.

clean_name()

Return the name of the model instance.

Noindex:

Note

TODO This method should probably just be an attribute set on the model instead.

Returns:

The name of the model instance.

Return type:

str

clean_name_spaced()

Return the name of the model instance with spaces.

Note

TODO This method should probably just be an attribute set on the model instead.

get_absolute_url()

Returns the url to access a particular instance of the model.

Noindex:

Returns:

A string of the url to access a particular instance of the model.

Return type:

str

show_value()
show_value_from()
show_value_to()
sub_subsection()
subsection()
coded_value
property display_citations

Display the citations of the model instance.

Noindex:

Note

The method is a property, and an alias for the return_citations function.

Returns:

The citations of the model instance, separated by comma.

Return type:

str

name
class seshat.apps.rt.models.Tax_rel_adh_act_ins

Bases: seshat.apps.core.models.SeshatCommon

class Meta
Noindex:

ordering = ['year_from', 'year_to']
verbose_name = 'Tax_rel_adh_act_ins'
verbose_name_plural = 'Taxes Based on Religious Adherence or on Religious Activities and Institutionss'
clean()

Validate the year_from and year_to fields of the model instance.

Noindex:

Note

The method an alias for the clean_times function.

Returns:

None

Raises:
  • ValidationError – If the year_from is greater than the year_to.

  • ValidationError – If the year_from is out of range.

  • ValidationError – If the year_from is earlier than the start year of the corresponding polity.

  • ValidationError – If the year_to is later than the end year of the corresponding polity.

  • ValidationError – If the year_to is out of range.

clean_name()

Return the name of the model instance.

Noindex:

Note

TODO This method should probably just be an attribute set on the model instead.

Returns:

The name of the model instance.

Return type:

str

clean_name_spaced()

Return the name of the model instance with spaces.

Note

TODO This method should probably just be an attribute set on the model instead.

get_absolute_url()

Returns the url to access a particular instance of the model.

Noindex:

Returns:

A string of the url to access a particular instance of the model.

Return type:

str

show_value()
show_value_from()
show_value_to()
sub_subsection()
subsection()
coded_value
property display_citations

Display the citations of the model instance.

Noindex:

Note

The method is a property, and an alias for the return_citations function.

Returns:

The citations of the model instance, separated by comma.

Return type:

str

name
class seshat.apps.rt.models.Theo_sync_dif_rel

Bases: seshat.apps.core.models.SeshatCommon

class Meta
Noindex:

ordering = ['year_from', 'year_to']
verbose_name = 'Theo_sync_dif_rel'
verbose_name_plural = 'Theological Syncretism of Different Religionss'
clean()

Validate the year_from and year_to fields of the model instance.

Noindex:

Note

The method an alias for the clean_times function.

Returns:

None

Raises:
  • ValidationError – If the year_from is greater than the year_to.

  • ValidationError – If the year_from is out of range.

  • ValidationError – If the year_from is earlier than the start year of the corresponding polity.

  • ValidationError – If the year_to is later than the end year of the corresponding polity.

  • ValidationError – If the year_to is out of range.

clean_name()

Return the name of the model instance.

Noindex:

Note

TODO This method should probably just be an attribute set on the model instead.

Returns:

The name of the model instance.

Return type:

str

clean_name_spaced()

Return the name of the model instance with spaces.

Note

TODO This method should probably just be an attribute set on the model instead.

get_absolute_url()

Returns the url to access a particular instance of the model.

Noindex:

Returns:

A string of the url to access a particular instance of the model.

Return type:

str

show_value()
show_value_from()
show_value_to()
sub_subsection()
subsection()
coded_value
property display_citations

Display the citations of the model instance.

Noindex:

Note

The method is a property, and an alias for the return_citations function.

Returns:

The citations of the model instance, separated by comma.

Return type:

str

name
class seshat.apps.rt.models.Widespread_religion

Bases: seshat.apps.core.models.SeshatCommon

class Meta
Noindex:

ordering = ['order']
verbose_name = 'Widespread_religion'
verbose_name_plural = 'Widespread_religions'
clean_name()

Return the name of the model instance.

Noindex:

Note

TODO This method should probably just be an attribute set on the model instead.

Returns:

The name of the model instance.

Return type:

str

clean_name_dynamic()
clean_name_spaced()

Return the name of the model instance with spaces.

Note

TODO This method should probably just be an attribute set on the model instead.

get_absolute_url()

Returns the url to access a particular instance of the model.

Noindex:

Returns:

A string of the url to access a particular instance of the model.

Return type:

str

show_value()
show_value_from()
show_value_to()
sub_subsection()
subsection()
degree_of_prevalence
property display_citations

Display the citations of the model instance.

Noindex:

Note

The method is a property, and an alias for the return_citations function.

Returns:

The citations of the model instance, separated by comma.

Return type:

str

name
order
widespread_religion
seshat.apps.rt.models.call_my_name(self)

This function is used to return the name of the model instance (in lieu of the __str__ representation of the model instance).

Note

The model instance must have the following attributes: - name - polity (and polity.name) - year_from - year_to

Parameters:

self (model instance) – The model instance.

Returns:

The name of the model instance.

Return type:

str

seshat.apps.rt.models.clean_times(self)

This function is used to validate the year_from and year_to fields of the model instance (called from each model’s clean method).

Note

The model instance must have the following attributes: - year_from - year_to - polity (and polity.start_year and polity.end_year)

Parameters:

self (model instance) – The model instance.

Returns:

None

Raises:
  • ValidationError – If the year_from is greater than the year_to.

  • ValidationError – If the year_from is out of range.

  • ValidationError – If the year_from is earlier than the start year of the corresponding polity.

  • ValidationError – If the year_to is later than the end year of the corresponding polity.

  • ValidationError – If the year_to is out of range.

seshat.apps.rt.models.return_citations(self)

This function is used to return the citations of the model instance (returning the value used in the display_citations method of the model instance).

Note

The model instance must have the following attribute: - citations

The model instance must have the following methods: - zoteroer

Parameters:

self (model instance) – The model instance.

Returns:

The citations of the model instance, separated by comma.

Return type:

str

seshat.apps.rt.models.FREQUENCY_CHOICES = (('never', 'never (absent)'), ('vr', 'very rarely'), ('mftvr', 'more frequently than very...
seshat.apps.rt.models.ORDER_CHOICES = (('1', '1. Most widespread'), ('2', '2. Second most widespread'), ('3', '3. Third most...
seshat.apps.rt.models.PREVALENCE_CHOICES = (('v_m', 'Vast majority'), ('o_h_p', 'Over half of the population'), ('sz_m', 'Sizeable...