Django Permissions: How to make extended User only to update and view profile?

19 views
Skip to first unread message

Sanchit Balchandani

unread,
Mar 12, 2016, 9:00:55 PM3/12/16
to Django users
I'm trying to write custom permissions for the extended user which I created so that it should only be allowed to see(retrieve) the user profile and update it. However with my current code, it is not allowing User to see it's profile. I've just started with Django and not able to come up with a solution, so please advise what is wrong? 

Please see my code here - http://pastebin.com/CD0NZ5bX

Thanks,
Sanchit
Reply all
Reply to author
Forward
0 new messages