[Answer]-Return some attributes only in detail view in django-tastypie

1👍

✅

You can do this with the “use_in” resource field attribute, which has the options of “all”, “list” and “detail”.

You can read about it more here

Leave a comment