How to do query inner join in django rest framework

1,464 views
Skip to first unread message

Angel Omar Rojas Pacheco

unread,
Nov 16, 2017, 11:58:32 AM11/16/17
to Django users
hello everyone,

I am a new in django, need to inner join in django, it searching in documentation DJANGO REST FRAMEWORK / SERIALIZER, but is not looking for I am, 
My query in sql is:

select * from auth_user as auser inner join profile_user_colony  as profileu on auser.id=profileu.user_id

this query show me all realted between user and profile, but the documentation just show me one of them, and not show me all.

please help me.

thanks.


Jason

unread,
Nov 17, 2017, 8:24:00 AM11/17/17
to Django users
I would look at the django beginner tutorial first


what you're asking for is covered in part 2
Reply all
Reply to author
Forward
0 new messages