I have the following structure:
class FlowerSpecies(models.Model):
pass
class Months(models.Model):
flower_species = models.ForeignKey(FlowerSpecies)
month_idx = models.IntegerField()
In words, I have a bunch of flower species each of which can grow in certain months only.
How can I now use filter to query for all the species that grow in June for example?
thanks for help!