| 802 | |
| 803 | |
| 804 | class GrowthRateDetailSerializer(serializers.ModelSerializer): |
| 805 | descriptions = GrowthRateDescriptionSerializer( |
| 806 | many=True, read_only=True, source="growthratedescription" |
| 807 | ) |
| 808 | levels = ExperienceSerializer(many=True, read_only=True, source="experience") |
| 809 | pokemon_species = PokemonSpeciesSummarySerializer( |
| 810 | many=True, read_only=True, source="pokemonspecies" |
| 811 | ) |
| 812 | |
| 813 | class Meta: |
| 814 | model = GrowthRate |
| 815 | fields = ("id", "name", "formula", "descriptions", "levels", "pokemon_species") |
| 816 | |
| 817 | |
| 818 | ########################## |
nothing calls this directly
no test coverage detected