Commit 2af3032a authored by wojiushixiaobai's avatar wojiushixiaobai

修改文档

parent 1e88c354
......@@ -276,9 +276,10 @@ FAQ
::
# 以导入 admin 用户 public_key 为例
$ $ source /opt/py3/bin/activate
$ source /opt/py3/bin/activate
$ cd /opt/jumpserver/apps
>>> from users.models import User
$ python manage.py shell
>>> from users.models import User
>>> user = User.objects.get(username='admin')
>>> user.public_key = '明文key'
>>> user.save()
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment