Untitled
plain_text
a month ago
253 B
17
Indexable
Never
In [23]: for band in bands: ...: band.genre = random.randint(0,6) ...: band.still_active = random.choice([True, False]) ...: band.save() In [33]: results = Band.objects.filter(year__gte=1970, year__lt=1980, name__contains="The")