<?xml version="1.0" encoding="utf-8" ?><rss version="2.0"><channel><title><![CDATA[ysuandy的博客]]></title><description><![CDATA[]]></description><link>https://blog.csdn.net/ysuandy</link><language>zh-cn</language><generator>https://blog.csdn.net/</generator><copyright><![CDATA[Copyright &copy; ysuandy]]></copyright><item><title><![CDATA[Navicat for MySQL 连接 Mysql 8.0.15出现1251- Client does not support authentication protocol 错误]]></title><link>https://blog.csdn.net/ysuandy/article/details/105678870</link><guid>https://blog.csdn.net/ysuandy/article/details/105678870</guid><author>ysuandy</author><pubDate>Wed, 22 Apr 2020 12:47:46 +0800</pubDate><description><![CDATA[安装了Navicat for MySQL 破解版，连接数据库出现错误
1251- Client does not support authentication protocol …的错误，网上查了一下 ，某位前辈直接给出了答案，特此记录，以为成长道路上留下足迹…
原因：
mysql 8.0之前的版本的加密规则与8.0不同，之前是mysql_native_password，8.0之后是caching...]]></description><category></category></item><item><title><![CDATA[django 初体验IV--模板语法]]></title><link>https://blog.csdn.net/ysuandy/article/details/105258880</link><guid>https://blog.csdn.net/ysuandy/article/details/105258880</guid><author>ysuandy</author><pubDate>Mon, 06 Apr 2020 00:38:50 +0800</pubDate><description><![CDATA[模板语法两种表达：
{{  }}  变量：
1.深度查询 “.”
"."可以取出对象的属性进行前端显示	
eg.  在views中：
def test(request):
list1 = [1,12,123]
info = {name: andy , age : 99}
…
return render(request, “*.html”, locals())  #locals()将当前函数的局部变...]]></description><category></category></item><item><title><![CDATA[django 初体验III --  python socket]]></title><link>https://blog.csdn.net/ysuandy/article/details/105170718</link><guid>https://blog.csdn.net/ysuandy/article/details/105170718</guid><author>ysuandy</author><pubDate>Sat, 28 Mar 2020 23:05:06 +0800</pubDate><description><![CDATA[记录一下socket的最基础应用
import socket
sock = socket.socket()
sock.bind((‘127.0.0.1’,8000))
sock.listen(3)
while True:
print(‘waiting…’)
conn,addr = sock.accept()
data = conn.recv(1024)
print(‘data’,data)
#读取...]]></description><category></category></item><item><title><![CDATA[django初体验 II]]></title><link>https://blog.csdn.net/ysuandy/article/details/105040158</link><guid>https://blog.csdn.net/ysuandy/article/details/105040158</guid><author>ysuandy</author><pubDate>Mon, 23 Mar 2020 01:25:01 +0800</pubDate><description><![CDATA[django 安装完成；
settings 设定；
from django.urls import path, include 用include（）通过path（)指定子路由，指向某个APP的路由；
from . import views 在APP路由（urls）中通过path（）使用view指定网页渲染方法；
在views 中定义函数，对网页进行渲染的方法；
通过在models中定义类，与数据...]]></description><category></category></item><item><title><![CDATA[django migration 补遗]]></title><link>https://blog.csdn.net/ysuandy/article/details/104903631</link><guid>https://blog.csdn.net/ysuandy/article/details/104903631</guid><author>ysuandy</author><pubDate>Tue, 17 Mar 2020 16:14:03 +0800</pubDate><description><![CDATA[django的数据迁移 migrate
当对数据库进行了增删改，需要对数据进行迁移：

自带迁移系统
生成迁移文件：
python manage.py makemigrations
执行迁移文件;
python manage.py migrate
迁移文件生成的文件夹
本质是一个包
迁移记录
django migrations
每次迁移：

先生成makemigrations

依据已有的文件和记...]]></description><category></category></item><item><title><![CDATA[Django- 初体验]]></title><link>https://blog.csdn.net/ysuandy/article/details/104840313</link><guid>https://blog.csdn.net/ysuandy/article/details/104840313</guid><author>ysuandy</author><pubDate>Fri, 13 Mar 2020 15:53:48 +0800</pubDate><description><![CDATA[安装django ，建立虚拟环境，本机原来是anocoda3，python3.6 , 在conda建立新的虚拟环境 env_django，安装了相应的版本（刚开始不太熟 所有需要的依赖都重新安装了），python3.8，django3.0.3… 虚拟环境安装、激活可以百度；
django创建新项目，可以通过pycharm创建，也可以通过conda终端来创建，我是通过conda创建的，步骤：
1）...]]></description><category></category></item><item><title><![CDATA[不惑大叔转型--工控到编程、架构--记录1]]></title><link>https://blog.csdn.net/ysuandy/article/details/104834686</link><guid>https://blog.csdn.net/ysuandy/article/details/104834686</guid><author>ysuandy</author><pubDate>Fri, 13 Mar 2020 10:03:17 +0800</pubDate><description><![CDATA[记录一下今天的计划：
1.复习一下python数据处理，简单的开始上手试一下；
2.继续django的初步认识学习；
3.计划安装虚拟机，安装kali或Ubantu系统；
4.计划开始了解HTML、bootstrap、css等web知识；
5.信息与工控结合的思考

...]]></description><category></category></item></channel></rss>