Re: querying multiselectcheckbox

2018-02-01 Thread Andy
Once you fixed the typo in your model name its Participants.objects.filter(track_events__in=['100M', '200M']).values_list('Full_name') And you should use single case for model name (Participant) and lower case for full_name as you did with the other attributes. -- You received this message b

querying multiselectcheckbox

2018-01-31 Thread Tech Today
# this is my model from django.db import models from multiselectfield import MultiSelectField TRACK_EVENTS_CHOICES = ( ('100M', '100 Meter'), ('200M', '200 Meter'), ('400M', '400 Meter'), ('800M', '800 Meter'), ('1500M', '1500 Meter'), ('5000M', '5000 Meter'), ) clas