text: """ Background model. """
  from django.db import models
  
  from common.models import OwnedModel
  from equipment.models import Armor, Tool, Weapon
  from skills.models import Skill
  
  from .feature import Feature
  
  class Background(OwnedModel):
      """
      Model for representing character background
      TODO
  
      Attributes:
          name: the name for this background. Should be unique.
          description: text description of the background
          features: features granted to characters by this background
          suggested_tools: tools the character gains using this background
          suggested_armors: armor proficiencies suggested by the background
          suggested_weapons: weapon proficiencies suggested by the background
          suggested_skills: skill proficiency choices suggested by the background
          starting_gold: gold that characters with this background start with.
              Can use decimals for silver/copper.
          starting_equipment: The equipment members of this background begin play with.
      """
      name = models.CharField(unique=True, max_length=255, db_index=True)
      description = models.TextField()
      features = models.ManyToManyField(to=Feature)
  
      suggested_personality_traits = models.TextField(blank=True, null=True)
      suggested_ideals = models.TextField(blank=True, null=True)
      suggested_bonds = models.TextField(blank=True, null=True)
      suggested_flaws = models.TextField(blank=True, null=True)
  
      suggested_tools = models.ManyToManyField(to=Tool, blank=True)
      suggested_armors = models.ManyToManyField(to=Armor, blank=True)
      suggested_weapons = models.ManyToManyField(to=Weapon, blank=True)
      suggested_skills = models.ManyToManyField(to=Skill, blank=True)
      suggested_languages = models.TextField(blank=True, null=True)
  
      starting_gold = models.FloatField(default=10)
      starting_equipment = models.TextField()
  
      def __str__(self):
          return str(self.name)
  