PageSourceSearch

https://ptools.fun/assets/password.html-7UuSu9Bq.js

js ptools.fun collected 2026-10-02 01:54:29 UTC 2,714 bytes, 1 lines download raw bytes

1import{_ as a,c as o,a as c,o as t}from"./app-DQ69Vgvk.js";const d="/images/password/img.png",s={};function l(n,e){return t(),o("div",null,[...e[0]||(e[0]=[c('<h1 id="忘记密码" tabindex="-1"><a class="header-anchor" href="#忘记密码"><span>忘记密码</span></a></h1><h2 id="无法登陆、更新出错之提示密码错误处理" tabindex="-1"><a class="header-anchor" href="#无法登陆、更新出错之提示密码错误处理"><span>无法登陆、更新出错之提示密码错误处理</span></a></h2><ol><li>第一次登录修改账号密码之后,一定要记牢了,不小心删除数据库文件也会报密码错误,流程都是相似的,自行琢磨一下</li><li>更新出错再第 3 步跳转到第 5 步进行即可</li><li>密码不正确也有可能是初始化是密码未创建成功</li></ol><h2 id="命令行方式处理" tabindex="-1"><a class="header-anchor" href="#命令行方式处理"><span>命令行方式处理</span></a></h2><ol><li><p>进入宿主机命令行</p></li><li><p>查找容器 ID:<code>sudo docker ps -a</code></p><p><img src="'+d+'" alt="img.png"></p></li><li><p>进入容器命令行:<code>docker exec -it 9a1c6bdafe9a /bin/bash</code></p></li><li><p>进入项目文件夹:<code>cd /ptools</code> <code>cd /app</code></p></li><li><p>创建用户或修改密码</p><blockquote><p>提醒:输入密码无回显,即无 ***,输入完确认即可</p></blockquote><p>修改密码命令:<code>python manage.py changepassword 你的用户名</code></p><p>创建用户命令:<code>python manage.py createsuperuser</code></p></li></ol>',5)])])}const p=a(s,[["render",l]]),r=JSON.parse('{"path":"/%E9%80%9A%E7%94%A8%E6%95%99%E7%A8%8B/password.html","title":"04. Django 密码错误处理","lang":"zh-CN","frontmatter":{"title":"04. Django 密码错误处理","description":null,"published":true,"date":"2025-12-01T04:41:25.476Z","tags":[],"editor":"markdown","dateCreated":"2024-09-29T13:59:08.195Z"},"git":{"updatedTime":1781682284000,"contributors":[{"name":"ngfchl","username":"ngfchl","email":"[email protected]","commits":3,"url":"https://github.com/ngfchl"}],"changelog":[{"hash":"f81773e46bd32d4e528a346b5df1e87f759290ca","time":1781682284000,"email":"[email protected]","author":"ngfchl","message":"update. 更新文档依赖,并修复部分BUG"},{"hash":"1dd5b2e5e10b5c2e3f3b00bdbd495e857826111e","time":1764679886000,"email":"[email protected]","author":"ngfchl","message":"update. 更新收割机通用教程"},{"hash":"56c3f531a9052269a7b1bd4db933e0391a432f06","time":1764639663000,"email":"[email protected]","author":"ngfchl","message":"add. 添加已有文档"}]},"filePathRelative":"通用教程/password.md"}');export{p as comp,r as data};

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.