seshat.apps.wf.models
Classes
Model representing a common Seshat model. |
|
Model representing a common Seshat model. |
|
Model representing a common Seshat model. |
|
Model representing a common Seshat model. |
|
Model representing a common Seshat model. |
|
Model representing a common Seshat model. |
|
Model representing a common Seshat model. |
|
Model representing a common Seshat model. |
|
Model representing a common Seshat model. |
|
Model representing a common Seshat model. |
|
Model representing a common Seshat model. |
|
Model representing a common Seshat model. |
|
Model representing a common Seshat model. |
|
Model representing a common Seshat model. |
|
Model representing a common Seshat model. |
|
Model representing a common Seshat model. |
|
Model representing a common Seshat model. |
|
Model representing a common Seshat model. |
|
Model representing a common Seshat model. |
|
Model representing a common Seshat model. |
|
Model representing a common Seshat model. |
|
Model representing a common Seshat model. |
|
Model representing a common Seshat model. |
|
Model representing a common Seshat model. |
|
Model representing a common Seshat model. |
|
Model representing a common Seshat model. |
|
Model representing a common Seshat model. |
|
Model representing a common Seshat model. |
|
Model representing a common Seshat model. |
|
Model representing a common Seshat model. |
|
Model representing a common Seshat model. |
|
Model representing a common Seshat model. |
|
Model representing a common Seshat model. |
|
Model representing a common Seshat model. |
|
Model representing a common Seshat model. |
|
Model representing a common Seshat model. |
|
Model representing a common Seshat model. |
|
Model representing a common Seshat model. |
|
Model representing a common Seshat model. |
|
Model representing a common Seshat model. |
|
Model representing a common Seshat model. |
|
Model representing a common Seshat model. |
|
Model representing a common Seshat model. |
|
Model representing a common Seshat model. |
|
Model representing a common Seshat model. |
|
Model representing a common Seshat model. |
|
Model representing a common Seshat model. |
|
Model representing a common Seshat model. |
|
Model representing a common Seshat model. |
Functions
|
This function is used to return the name of the model instance (in lieu of |
|
This function is used to validate the year_from and year_to fields of the |
|
This function is used to return the citations of the model instance |
Module Contents
- class seshat.apps.wf.models.Atlatl
Bases:
seshat.apps.core.models.SeshatCommonModel representing a common Seshat model.
- class Meta
- Noindex:
- ordering = ['year_from', 'year_to']
- verbose_name = 'Atlatl'
- verbose_name_plural = 'Atlatls'
- 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()
- 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_nga()
- show_value()
- sub_subsection()
- subsection()
- atlatl
- 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.wf.models.Battle_axe
Bases:
seshat.apps.core.models.SeshatCommonModel representing a common Seshat model.
- class Meta
- Noindex:
- ordering = ['year_from', 'year_to']
- verbose_name = 'Battle_axe'
- verbose_name_plural = 'Battle_axes'
- 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()
- 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_nga()
- show_value()
- sub_subsection()
- subsection()
- battle_axe
- 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.wf.models.Breastplate
Bases:
seshat.apps.core.models.SeshatCommonModel representing a common Seshat model.
- class Meta
- Noindex:
- ordering = ['year_from', 'year_to']
- verbose_name = 'Breastplate'
- verbose_name_plural = 'Breastplates'
- 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()
- 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_nga()
- show_value()
- sub_subsection()
- subsection()
- breastplate
- 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.wf.models.Bronze
Bases:
seshat.apps.core.models.SeshatCommonModel representing a common Seshat model.
- class Meta
- Noindex:
- ordering = ['year_from', 'year_to']
- verbose_name = 'Bronze'
- verbose_name_plural = 'Bronzes'
- 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()
- 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_nga()
- show_value()
- sub_subsection()
- subsection()
- bronze
- 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.wf.models.Camel
Bases:
seshat.apps.core.models.SeshatCommonModel representing a common Seshat model.
- class Meta
- Noindex:
- ordering = ['year_from', 'year_to']
- verbose_name = 'Camel'
- verbose_name_plural = 'Camels'
- 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()
- 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_nga()
- show_value()
- sub_subsection()
- subsection()
- camel
- 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.wf.models.Chainmail
Bases:
seshat.apps.core.models.SeshatCommonModel representing a common Seshat model.
- class Meta
- Noindex:
- ordering = ['year_from', 'year_to']
- verbose_name = 'Chainmail'
- verbose_name_plural = 'Chainmails'
- 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()
- 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_nga()
- show_value()
- sub_subsection()
- subsection()
- chainmail
- 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.wf.models.Complex_fortification
Bases:
seshat.apps.core.models.SeshatCommonModel representing a common Seshat model.
- class Meta
- Noindex:
- ordering = ['year_from', 'year_to']
- verbose_name = 'Complex_fortification'
- verbose_name_plural = 'Complex_fortifications'
- 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()
- 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_nga()
- show_value()
- sub_subsection()
- subsection()
- complex_fortification
- 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.wf.models.Composite_bow
Bases:
seshat.apps.core.models.SeshatCommonModel representing a common Seshat model.
- class Meta
- Noindex:
- ordering = ['year_from', 'year_to']
- verbose_name = 'Composite_bow'
- verbose_name_plural = 'Composite_bows'
- 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()
- 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_nga()
- show_value()
- sub_subsection()
- subsection()
- composite_bow
- 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.wf.models.Copper
Bases:
seshat.apps.core.models.SeshatCommonModel representing a common Seshat model.
- class Meta
- Noindex:
- ordering = ['year_from', 'year_to']
- verbose_name = 'Copper'
- verbose_name_plural = 'Coppers'
- 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()
- 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_nga()
- show_value()
- sub_subsection()
- subsection()
- copper
- 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.wf.models.Crossbow
Bases:
seshat.apps.core.models.SeshatCommonModel representing a common Seshat model.
- class Meta
- Noindex:
- ordering = ['year_from', 'year_to']
- verbose_name = 'Crossbow'
- verbose_name_plural = 'Crossbows'
- 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()
- 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_nga()
- show_value()
- sub_subsection()
- subsection()
- crossbow
- 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.wf.models.Dagger
Bases:
seshat.apps.core.models.SeshatCommonModel representing a common Seshat model.
- class Meta
- Noindex:
- ordering = ['year_from', 'year_to']
- verbose_name = 'Dagger'
- verbose_name_plural = 'Daggers'
- 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()
- 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_nga()
- show_value()
- sub_subsection()
- subsection()
- dagger
- 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.wf.models.Ditch
Bases:
seshat.apps.core.models.SeshatCommonModel representing a common Seshat model.
- class Meta
- Noindex:
- ordering = ['year_from', 'year_to']
- verbose_name = 'Ditch'
- verbose_name_plural = 'Ditchs'
- 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()
- 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_nga()
- show_value()
- sub_subsection()
- subsection()
- 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
- ditch
- name
- class seshat.apps.wf.models.Dog
Bases:
seshat.apps.core.models.SeshatCommonModel representing a common Seshat model.
- class Meta
- Noindex:
- ordering = ['year_from', 'year_to']
- verbose_name = 'Dog'
- verbose_name_plural = 'Dogs'
- 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()
- 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_nga()
- show_value()
- sub_subsection()
- subsection()
- 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
- dog
- name
- class seshat.apps.wf.models.Donkey
Bases:
seshat.apps.core.models.SeshatCommonModel representing a common Seshat model.
- class Meta
- Noindex:
- ordering = ['year_from', 'year_to']
- verbose_name = 'Donkey'
- verbose_name_plural = 'Donkeies'
- 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()
- 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_nga()
- show_value()
- sub_subsection()
- subsection()
- 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
- donkey
- name
- class seshat.apps.wf.models.Earth_rampart
Bases:
seshat.apps.core.models.SeshatCommonModel representing a common Seshat model.
- class Meta
- Noindex:
- ordering = ['year_from', 'year_to']
- verbose_name = 'Earth_rampart'
- verbose_name_plural = 'Earth_ramparts'
- 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()
- 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_nga()
- show_value()
- sub_subsection()
- subsection()
- 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
- earth_rampart
- name
- class seshat.apps.wf.models.Elephant
Bases:
seshat.apps.core.models.SeshatCommonModel representing a common Seshat model.
- class Meta
- Noindex:
- ordering = ['year_from', 'year_to']
- verbose_name = 'Elephant'
- verbose_name_plural = 'Elephants'
- 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()
- 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_nga()
- show_value()
- sub_subsection()
- subsection()
- 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
- elephant
- name
- class seshat.apps.wf.models.Fortified_camp
Bases:
seshat.apps.core.models.SeshatCommonModel representing a common Seshat model.
- class Meta
- Noindex:
- ordering = ['year_from', 'year_to']
- verbose_name = 'Fortified_camp'
- verbose_name_plural = 'Fortified_camps'
- 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()
- 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_nga()
- show_value()
- sub_subsection()
- subsection()
- 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
- fortified_camp
- name
- class seshat.apps.wf.models.Gunpowder_siege_artillery
Bases:
seshat.apps.core.models.SeshatCommonModel representing a common Seshat model.
- class Meta
- Noindex:
- ordering = ['year_from', 'year_to']
- verbose_name = 'Gunpowder_siege_artillery'
- verbose_name_plural = 'Gunpowder_siege_artilleries'
- 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()
- 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_nga()
- show_value()
- sub_subsection()
- subsection()
- 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
- gunpowder_siege_artillery
- name
- class seshat.apps.wf.models.Handheld_firearm
Bases:
seshat.apps.core.models.SeshatCommonModel representing a common Seshat model.
- class Meta
- Noindex:
- ordering = ['year_from', 'year_to']
- verbose_name = 'Handheld_firearm'
- verbose_name_plural = 'Handheld_firearms'
- 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()
- 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_nga()
- show_value()
- sub_subsection()
- subsection()
- 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
- handheld_firearm
- name
- class seshat.apps.wf.models.Helmet
Bases:
seshat.apps.core.models.SeshatCommonModel representing a common Seshat model.
- class Meta
- Noindex:
- ordering = ['year_from', 'year_to']
- verbose_name = 'Helmet'
- verbose_name_plural = 'Helmets'
- 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()
- 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_nga()
- show_value()
- sub_subsection()
- subsection()
- 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
- helmet
- name
- class seshat.apps.wf.models.Horse
Bases:
seshat.apps.core.models.SeshatCommonModel representing a common Seshat model.
- class Meta
- Noindex:
- ordering = ['year_from', 'year_to']
- verbose_name = 'Horse'
- verbose_name_plural = 'Horses'
- 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()
- 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_nga()
- show_value()
- sub_subsection()
- subsection()
- 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
- horse
- name
- class seshat.apps.wf.models.Iron
Bases:
seshat.apps.core.models.SeshatCommonModel representing a common Seshat model.
- class Meta
- Noindex:
- ordering = ['year_from', 'year_to']
- verbose_name = 'Iron'
- verbose_name_plural = 'Irons'
- 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()
- 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_nga()
- show_value()
- sub_subsection()
- subsection()
- 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
- iron
- name
- class seshat.apps.wf.models.Javelin
Bases:
seshat.apps.core.models.SeshatCommonModel representing a common Seshat model.
- class Meta
- Noindex:
- ordering = ['year_from', 'year_to']
- verbose_name = 'Javelin'
- verbose_name_plural = 'Javelins'
- 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()
- 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_nga()
- show_value()
- sub_subsection()
- subsection()
- 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
- javelin
- name
- class seshat.apps.wf.models.Laminar_armor
Bases:
seshat.apps.core.models.SeshatCommonModel representing a common Seshat model.
- class Meta
- Noindex:
- ordering = ['year_from', 'year_to']
- verbose_name = 'Laminar_armor'
- verbose_name_plural = 'Laminar_armors'
- 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()
- 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_nga()
- show_value()
- sub_subsection()
- subsection()
- 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
- laminar_armor
- name
- class seshat.apps.wf.models.Leather_cloth
Bases:
seshat.apps.core.models.SeshatCommonModel representing a common Seshat model.
- class Meta
- Noindex:
- ordering = ['year_from', 'year_to']
- verbose_name = 'Leather_cloth'
- verbose_name_plural = 'Leather_cloths'
- 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()
- 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_nga()
- show_value()
- sub_subsection()
- subsection()
- 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
- leather_cloth
- name
- class seshat.apps.wf.models.Limb_protection
Bases:
seshat.apps.core.models.SeshatCommonModel representing a common Seshat model.
- class Meta
- Noindex:
- ordering = ['year_from', 'year_to']
- verbose_name = 'Limb_protection'
- verbose_name_plural = 'Limb_protections'
- 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()
- 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_nga()
- show_value()
- sub_subsection()
- subsection()
- 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
- limb_protection
- name
- class seshat.apps.wf.models.Long_wall
Bases:
seshat.apps.core.models.SeshatCommonModel representing a common Seshat model.
- class Meta
- Noindex:
- ordering = ['year_from', 'year_to']
- verbose_name = 'long_wall'
- verbose_name_plural = 'Long walls'
- 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()
- 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()
- 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
- long_wall_from
- long_wall_to
- name
- class seshat.apps.wf.models.Merchant_ships_pressed_into_service
Bases:
seshat.apps.core.models.SeshatCommonModel representing a common Seshat model.
- class Meta
- Noindex:
- ordering = ['year_from', 'year_to']
- verbose_name = 'Merchant_ships_pressed_into_service'
- verbose_name_plural = 'Merchant_ships_pressed_into_services'
- 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()
- 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_nga()
- show_value()
- sub_subsection()
- subsection()
- 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
- merchant_ships_pressed_into_service
- name
- class seshat.apps.wf.models.Moat
Bases:
seshat.apps.core.models.SeshatCommonModel representing a common Seshat model.
- class Meta
- Noindex:
- ordering = ['year_from', 'year_to']
- verbose_name = 'Moat'
- verbose_name_plural = 'Moats'
- 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()
- 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_nga()
- show_value()
- sub_subsection()
- subsection()
- 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
- moat
- name
- class seshat.apps.wf.models.Modern_fortification
Bases:
seshat.apps.core.models.SeshatCommonModel representing a common Seshat model.
- class Meta
- Noindex:
- ordering = ['year_from', 'year_to']
- verbose_name = 'Modern_fortification'
- verbose_name_plural = 'Modern_fortifications'
- 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()
- 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_nga()
- show_value()
- sub_subsection()
- subsection()
- 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
- modern_fortification
- name
- class seshat.apps.wf.models.Plate_armor
Bases:
seshat.apps.core.models.SeshatCommonModel representing a common Seshat model.
- class Meta
- Noindex:
- ordering = ['year_from', 'year_to']
- verbose_name = 'Plate_armor'
- verbose_name_plural = 'Plate_armors'
- 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()
- 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_nga()
- show_value()
- sub_subsection()
- subsection()
- 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
- plate_armor
- class seshat.apps.wf.models.Polearm
Bases:
seshat.apps.core.models.SeshatCommonModel representing a common Seshat model.
- class Meta
- Noindex:
- ordering = ['year_from', 'year_to']
- verbose_name = 'Polearm'
- verbose_name_plural = 'Polearms'
- 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()
- 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_nga()
- show_value()
- sub_subsection()
- subsection()
- 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
- polearm
- class seshat.apps.wf.models.Scaled_armor
Bases:
seshat.apps.core.models.SeshatCommonModel representing a common Seshat model.
- class Meta
- Noindex:
- ordering = ['year_from', 'year_to']
- verbose_name = 'Scaled_armor'
- verbose_name_plural = 'Scaled_armors'
- 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()
- 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_nga()
- show_value()
- sub_subsection()
- subsection()
- 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
- scaled_armor
- class seshat.apps.wf.models.Self_bow
Bases:
seshat.apps.core.models.SeshatCommonModel representing a common Seshat model.
- class Meta
- Noindex:
- ordering = ['year_from', 'year_to']
- verbose_name = 'Self_bow'
- verbose_name_plural = 'Self_bows'
- 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()
- 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_nga()
- show_value()
- sub_subsection()
- subsection()
- 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
- self_bow
- class seshat.apps.wf.models.Settlements_in_a_defensive_position
Bases:
seshat.apps.core.models.SeshatCommonModel representing a common Seshat model.
- class Meta
- Noindex:
- ordering = ['year_from', 'year_to']
- verbose_name = 'Settlements_in_a_defensive_position'
- verbose_name_plural = 'Settlements_in_a_defensive_positions'
- 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()
- 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_nga()
- show_value()
- sub_subsection()
- subsection()
- 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
- settlements_in_a_defensive_position
- class seshat.apps.wf.models.Shield
Bases:
seshat.apps.core.models.SeshatCommonModel representing a common Seshat model.
- class Meta
- Noindex:
- ordering = ['year_from', 'year_to']
- verbose_name = 'Shield'
- verbose_name_plural = 'Shields'
- 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()
- 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_nga()
- show_value()
- sub_subsection()
- subsection()
- 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
- shield
- class seshat.apps.wf.models.Sling
Bases:
seshat.apps.core.models.SeshatCommonModel representing a common Seshat model.
- class Meta
- Noindex:
- ordering = ['year_from', 'year_to']
- verbose_name = 'Sling'
- verbose_name_plural = 'Slings'
- 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()
- 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_nga()
- show_value()
- sub_subsection()
- subsection()
- 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
- sling
- class seshat.apps.wf.models.Sling_siege_engine
Bases:
seshat.apps.core.models.SeshatCommonModel representing a common Seshat model.
- class Meta
- Noindex:
- ordering = ['year_from', 'year_to']
- verbose_name = 'Sling_siege_engine'
- verbose_name_plural = 'Sling_siege_engines'
- 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()
- 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_nga()
- show_value()
- sub_subsection()
- subsection()
- 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
- sling_siege_engine
- class seshat.apps.wf.models.Small_vessels_canoes_etc
Bases:
seshat.apps.core.models.SeshatCommonModel representing a common Seshat model.
- class Meta
- Noindex:
- ordering = ['year_from', 'year_to']
- verbose_name = 'Small_vessels_canoes_etc'
- verbose_name_plural = 'Small_vessels_canoes_etcs'
- 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()
- 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_nga()
- show_value()
- sub_subsection()
- subsection()
- 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
- small_vessels_canoes_etc
- class seshat.apps.wf.models.Spear
Bases:
seshat.apps.core.models.SeshatCommonModel representing a common Seshat model.
- class Meta
- Noindex:
- ordering = ['year_from', 'year_to']
- verbose_name = 'Spear'
- verbose_name_plural = 'Spears'
- 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()
- 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_nga()
- show_value()
- sub_subsection()
- subsection()
- 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
- spear
- class seshat.apps.wf.models.Specialized_military_vessel
Bases:
seshat.apps.core.models.SeshatCommonModel representing a common Seshat model.
- class Meta
- Noindex:
- ordering = ['year_from', 'year_to']
- verbose_name = 'Specialized_military_vessel'
- verbose_name_plural = 'Specialized_military_vessels'
- 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()
- 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_nga()
- show_value()
- sub_subsection()
- subsection()
- 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
- specialized_military_vessel
- class seshat.apps.wf.models.Steel
Bases:
seshat.apps.core.models.SeshatCommonModel representing a common Seshat model.
- class Meta
- Noindex:
- ordering = ['year_from', 'year_to']
- verbose_name = 'Steel'
- verbose_name_plural = 'Steels'
- 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()
- 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_nga()
- show_value()
- sub_subsection()
- subsection()
- 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
- steel
- class seshat.apps.wf.models.Stone_walls_mortared
Bases:
seshat.apps.core.models.SeshatCommonModel representing a common Seshat model.
- class Meta
- Noindex:
- ordering = ['year_from', 'year_to']
- verbose_name = 'Stone_walls_mortared'
- verbose_name_plural = 'Stone_walls_mortareds'
- 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()
- 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_nga()
- show_value()
- sub_subsection()
- subsection()
- 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
- stone_walls_mortared
- class seshat.apps.wf.models.Stone_walls_non_mortared
Bases:
seshat.apps.core.models.SeshatCommonModel representing a common Seshat model.
- class Meta
- Noindex:
- ordering = ['year_from', 'year_to']
- verbose_name = 'Stone_walls_non_mortared'
- verbose_name_plural = 'Stone_walls_non_mortareds'
- 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()
- 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_nga()
- show_value()
- sub_subsection()
- subsection()
- 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
- stone_walls_non_mortared
- class seshat.apps.wf.models.Sword
Bases:
seshat.apps.core.models.SeshatCommonModel representing a common Seshat model.
- class Meta
- Noindex:
- ordering = ['year_from', 'year_to']
- verbose_name = 'Sword'
- verbose_name_plural = 'Swords'
- 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()
- 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_nga()
- show_value()
- sub_subsection()
- subsection()
- 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
- sword
- class seshat.apps.wf.models.Tension_siege_engine
Bases:
seshat.apps.core.models.SeshatCommonModel representing a common Seshat model.
- class Meta
- Noindex:
- ordering = ['year_from', 'year_to']
- verbose_name = 'Tension_siege_engine'
- verbose_name_plural = 'Tension_siege_engines'
- 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()
- 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_nga()
- show_value()
- sub_subsection()
- subsection()
- 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
- tension_siege_engine
- class seshat.apps.wf.models.War_club
Bases:
seshat.apps.core.models.SeshatCommonModel representing a common Seshat model.
- class Meta
- Noindex:
- ordering = ['year_from', 'year_to']
- verbose_name = 'War_club'
- verbose_name_plural = 'War_clubs'
- 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()
- 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_nga()
- show_value()
- sub_subsection()
- subsection()
- 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
- war_club
- class seshat.apps.wf.models.Wood_bark_etc
Bases:
seshat.apps.core.models.SeshatCommonModel representing a common Seshat model.
- class Meta
- Noindex:
- ordering = ['year_from', 'year_to']
- verbose_name = 'Wood_bark_etc'
- verbose_name_plural = 'Wood_bark_etcs'
- 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()
- 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_nga()
- show_value()
- sub_subsection()
- subsection()
- 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
- wood_bark_etc
- class seshat.apps.wf.models.Wooden_palisade
Bases:
seshat.apps.core.models.SeshatCommonModel representing a common Seshat model.
- class Meta
- Noindex:
- ordering = ['year_from', 'year_to']
- verbose_name = 'Wooden_palisade'
- verbose_name_plural = 'Wooden_palisades'
- 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()
- 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_nga()
- show_value()
- sub_subsection()
- subsection()
- 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
- wooden_palisade
- seshat.apps.wf.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.wf.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.wf.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