In the docs, it says that the below given way can be used to give custom permissions.The has_perm decorator is used to check user permissions. But it does not say where these permissions are defined or what they do. Do i not need to define them ? If yes where and how do i do it? Thanks for all the helps.
class Task(models.Model):
...
class Meta:
permissions = (
("view_task", "Can see available tasks"),
("change_task_status", "Can change the status of tasks"),
("close_task", "Can remove a task by setting its status as closed"),
)