| 1696 | |
| 1697 | |
| 1698 | class PokemonForm(HasName, HasPokemon, HasOrder): |
| 1699 | form_name = models.CharField(max_length=30) |
| 1700 | |
| 1701 | version_group = models.ForeignKey( |
| 1702 | VersionGroup, blank=True, null=True, on_delete=models.CASCADE |
| 1703 | ) |
| 1704 | |
| 1705 | is_default = models.BooleanField(default=False) |
| 1706 | |
| 1707 | is_battle_only = models.BooleanField(default=False) |
| 1708 | |
| 1709 | is_mega = models.BooleanField(default=False) |
| 1710 | |
| 1711 | form_order = models.IntegerField(blank=True, null=True) |
| 1712 | |
| 1713 | |
| 1714 | class PokemonFormGeneration(HasPokemonForm, HasGeneration, HasGameIndex): |
no outgoing calls