Does anyone in the group have experience with Django and Tastypie for building services?
The said problem:
I want to run a “distinct” filter on the “make” column of my model…
ex: Lets say the values in the model for the make column are [Dodge, Dodge, Ferrari, Veyron, Ferrari ] …the api would response with [ Dodge, Ferrari, Veyron] … there are multiple columns in the model but on want the values in the “make” column
So I have been doing some research, so I better understand that I have to override the “apply_filters” function…
So I have updated my code → https://gist.github.com/anonymous/6970591
What would the url look like? => http://127.0.0.1:8000/api/v1/make/?Column=make&distinct=True&format=json ?