Django2 TypeError: RedirectView() received an invalid keyword 're_path'. as_view only accepts arguments that are already attributes of the class. django2 报错: TypeError: RedirectView() received an invalid keyword 're_path'. as_view only accepts arguments t ... continue reading django zhuoyuebiji 2020/5/20 937
Django form 里 password1 password2 验证先后探索(注册表单) 首先,我们看看能正常验证两次密码一致性的注册表单 : from __future__ import unicode_literals import unicodedata from django import form ... continue reading django zhuoyuebiji 2020/3/6 936
中文文案排版指北(含空格) 🚀 github.com/sparanoid/chinese-copywriting-guidelines/blob/master/README.zh-Hans.md 统一中文文案、排版的相关用法,降低团队成员之间的沟通成本,增强网站 ... continue reading 软件测试 zhuoyuebiji 2019/7/9 934
Django CKEditor 给 a tag(标签)添加 target 默认值 启发文档 https://ckeditor.com/docs/ckeditor4/latest/guide/dev_disallowed_content.html CKEDITOR.on( 'dialogDefinition ... continue reading django zhuoyuebiji 2020/3/7 934
必须要改掉的七个坏习惯 1. 长期熬夜,精神萎靡 -- 来深圳后,从开始 0 点睡到 2 点睡,期望能在 23:30 左右入睡 2. 过度消费,负债累累 -- 索性不负债,但也没存多少,期望能在五年内完成自己的计划的 3. 缺乏运动,免疫下 ... continue reading 生活感悟 zhuoyuebiji 2019/6/15 932
Pycharm 2019.2 使用小技巧 技巧 1:文本变字符串 步骤: 选中 文本 按下 单引号 或者 双引号 技巧 2:给函数 或者 类 添加说明 步骤: 在 函数 或 类 的头部 输入 """ ... continue reading django zhuoyuebiji 2020/1/10 932
使用自己的域名跳转到博客园(cnblogs, CSDN, 简书 都可以) 实现原理 用户访问 -> 域名解析 -> github page 跳转 -> 真实地址 配置步骤 🚀 https://www.cnblogs.co ... continue reading 计算机基础 zhuoyuebiji 2019/11/5 931
Github Two-factor authentication (2FA) is required for your GitHub account 两步验证 问题现象: 登录 github 提示“Two-factor authentication (2FA) is required for your GitHub account”,下载其他的验证器比较麻烦,开启手机 ... continue reading 计算机基础 zhuoyuebiji 2024/2/26 931
Django 2.2 管理后台添加找回密码功能 The Django admin site Adding a password reset feature You can add a password reset feature to the admin ... continue reading django zhuoyuebiji 2019/8/3 929