Skip to content

Demographic model

The Demographic model represents a demographic entry in the database. It includes a field to store the name of the demographic and uses a custom manager for demographic-specific queries.

Fields

name string

The name of the demographic.


created_at datetime

The date and time when the character was first created. This field is automatically populated when the entry is initially saved.


updated_at datetime

The date and time of the last update. This field is automatically refreshed each time the entry is modified and saved.


is_available boolean

Indicates is available or not. The default value is True.