[Answer]-Basic filtering in django using queryset

1👍

This is the part in the documentation you should be looking at – https://docs.djangoproject.com/en/dev/topics/db/queries/#retrieving-specific-objects-with-filters

The query that filters model values from the database is:

Venue.objects.filter(place='<dropdown-select>')

0👍

Venue.objects.filter(place= a[0])

a[0] being the value received from drop-down list

Leave a comment