Retrieve Specific Fields

16 views
Skip to first unread message

venkatesh penchala

unread,
Mar 4, 2016, 8:16:37 AM3/4/16
to Django users
Hello,

I am new to Web Development and chose Django Framework based on very good reviews by my friends. I am following tutorials all over the docs.
I have a requirement in mind to retrieve data from database which is very straight forward. But how do I retrieve specific results?

For example,
I have a two models 'Functions' and 'Solutions' having a Many to Many relationship.
When User selects "few" functions in the UI, I have to retrieve those specific functions along with their respective solutions.

Till Now I am successful in getting all the records or an individual record using Django Rest Framework. But now, I am struck about the above problem.

Any help would be appreciated.

Reply all
Reply to author
Forward
0 new messages