DarrenTian / instyle

Instyle
0 stars 0 forks source link

Cascade Publisher Info in Style API #26

Open DarrenTian opened 5 years ago

DarrenTian commented 5 years ago

Currently it only gives an primary key of the user We'll need user display name(not username, currently username is uniquely used for email). user profile image intro information.

DarrenTian commented 5 years ago

acutally, depth=2 will expose all user info like password....I think we either need a different user profile class or a customized serializer.

infiniteauc commented 5 years ago

That is correct, we will need custom class or serializer in that case. You / YellowSub was extending the user class right, in that case a custom serializer for that class should do the trick.