1
我知道Django,并且一直在试验可以包含的管理页面。允许用户只更改自己的密码/详细信息
我可以看到超级用户如何为某些页面授予其他用户的权限,例如,The Django Book教你如何让用户只能编辑作者,而不是添加他们。但是,我无法让用户能够更改自己的详细信息,但不是全部用户的详细信息。是
权限列表中的选项如下:
admin | log entry | Can add log entry
admin | log entry | Can change log entry
admin | log entry | Can delete log entry
auth | group | Can add group
auth | group | Can change group
auth | group | Can delete group
auth | permission | Can add permission</option>
auth | permission | Can change permission
auth | permission | Can delete permission
auth | user | Can add user
auth | user | Can change user
auth | user | Can delete user
books | author | Can add author
books | author | Can change author
books | author | Can delete author
books | book | Can add book
books | book | Can change book
books | book | Can delete book
books | publisher | Can add publisher
books | publisher | Can change publisher
books | publisher | Can delete publisher
contenttypes | content type | Can add content type
contenttypes | content type | Can change content type
contenttypes | content type | Can delete content type
sessions | session | Can add session
sessions | session | Can change session
sessions | session | Can delete session
噢,我现在看到屏幕右上角的“更改密码”链接。非常感谢。 – Jon 2014-09-30 13:27:50