0

I am fairly new to django so bear with me. but is it possible to implement something similiar to laravel's hidden array:

$hidden = ['password', ]

in django? I intend to use it in the same manner as the laravel code, to hide the password field from being returned everytime i get a user object from the database.

I searched all over the internet for a solution for this but i couldn't find anyone mentioning the topic.

0 Answers0