L
L
lleviy2019-12-11 22:04:28
Django
lleviy, 2019-12-11 22:04:28

How to set permissions on Django model fields?

Please push in the right direction.
The situation is this: I have a model with fields. One field should be readable (in my case via API) only by a certain group of users, all other fields are available to everyone.
How can i do this?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
Vadim Shatalov, 2019-12-11
@lleviy

Different serializers for different user groups

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question