Untitled
unknown
plain_text
2 years ago
253 B
25
Indexable
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")
Editor is loading...