Re: query set on a manytomany table

2011-02-18 Thread gladys bixly
Why would you want to query the table directly? I believe the only way you could access data from a ManyToManyField is through the Model in which it is related. On Fri, Feb 18, 2011 at 11:35 AM, Bobby Roberts wrote: > I have a Manytomanyfield in a model called

query set on a manytomany table

2011-02-17 Thread Bobby Roberts
I have a Manytomanyfield in a model called "registrants" on a fieldname called locations. It stores the person's facility values in a table in the database in something called like registrants_locations_values (just as an example). How can i do a query on the registrants_locations_values table