Gautham Santhosh
Gautham Santhosh

Reputation: 895

what does members indicate in django rest

when i do a curl

curl -H "Authorization: Token <token>" "http://localhost:8000/api/url"

I get a response like this

{"id":20,"team_name":"something","created_by":"joe","members":[{"member_name":"joe","status":"Self","member_id":1}]}%

what does this members array indicate ?

Are they foreign key fields of this specific request

Upvotes: 0

Views: 40

Answers (1)

Tim
Tim

Reputation: 1591

It seems that the members array holds the for foreign keys for your member names table.

Upvotes: 1

Related Questions