Script Models¶
- class jangle.models.scripts.ScriptManager(*args, **kwargs)[source]¶
- register(clear=True, batch_size=64) None[source]¶
Saves IS0 15924 scripts from unicode.org to the database. See https://www.unicode.org/iso15924/iso15924.txt.
- class jangle.models.scripts.Script(*args, **kwargs)[source]¶
Represents an ISO 15924 script, saved from https://www.unicode.org/iso15924/.
- code¶
ISO 15924 code.
- no¶
ISO 15924 number.
- names_en¶
English names.
- names_fr¶
French names.
- pva¶
Unicode property value alias. See https://www.unicode.org/Public/UCD/latest/ucd/PropertyValueAliases.txt.
- unicode_version¶
- subtag¶
Accessor to the related object on the reverse side of a one-to-one relation.
In the example:
class Restaurant(Model): place = OneToOneField(Place, related_name='restaurant')
Place.restaurantis aReverseOneToOneDescriptorinstance.
- script_date¶
Date.
- property no_str: str¶
Formatted string of ISO 15924 number.
- objects = <jangle.models.scripts.ScriptManager object>¶