Groups
Groups
Sign in
Groups
Groups
Django REST framework
Conversations
About
Send feedback
Help
How to define custom permissions for user creating task?
55 views
Skip to first unread message
Praveen chaduvala
unread,
Jan 12, 2021, 7:10:54 AM
1/12/21
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Django REST framework
how to give custom permission for creating task
example my model defined two types of fields
1.Doctor model
doctor model contating is_doctor field
2.Patient model
patient model containing Is_patient field
when i am creating some tasks patient token also creating doctors tasks
go through
my code:
django - How to Create custom permission classes? - Stack Overflow
https://stackoverflow.com/users/11869457/prashanth
Reply all
Reply to author
Forward
0 new messages