<?xml version="1.0" encoding="utf-8" ?><rss version="2.0"><channel><title><![CDATA[shurychen的博客]]></title><description><![CDATA[]]></description><link>https://blog.youkuaiyun.com/shurychen</link><language>zh-cn</language><generator>https://blog.youkuaiyun.com/</generator><copyright><![CDATA[Copyright &copy; shurychen]]></copyright><item><title><![CDATA[django1.10 提交表单出错，Forbidden (403)  CSRF verification failed. Request aborted]]></title><link>https://blog.youkuaiyun.com/shurychen/article/details/70058111</link><guid>https://blog.youkuaiyun.com/shurychen/article/details/70058111</guid><author>shurychen</author><pubDate>Tue, 11 Apr 2017 16:51:08 +0800</pubDate><description><![CDATA[django提交表单时出现，Forbidden (403)  CSRF verification failed. Request aborted错误
解决方法：在表单中添加{% csrf_token %},如下图：

此外在视图函数前加上@csrf_exempt，如图：]]></description><category></category></item><item><title><![CDATA[Pytong学习笔记（二）Python中的字符串]]></title><link>https://blog.youkuaiyun.com/shurychen/article/details/54646750</link><guid>https://blog.youkuaiyun.com/shurychen/article/details/54646750</guid><author>shurychen</author><pubDate>Sat, 21 Jan 2017 17:29:48 +0800</pubDate><description><![CDATA[三、字符串
Python3支持Unicode。Python字符串不可变，无法对原字符串进行修改

    1、三种引号
    单引号和双引号：
    在Python中将一系列字符包含在一对单引号或一对双引号中即可创建字符串如
    s='just try it'
     print(s)
    按下F5,得到的结果如下：just try it
    如果是在交互性解释]]></description><category></category></item><item><title><![CDATA[文章标题]]></title><link>https://blog.youkuaiyun.com/shurychen/article/details/54632946</link><guid>https://blog.youkuaiyun.com/shurychen/article/details/54632946</guid><author>shurychen</author><pubDate>Fri, 20 Jan 2017 17:54:53 +0800</pubDate><description><![CDATA[今天刚接触Python，以下Python进门前对一些基本知识的了解。 
1、两个简单常用的快捷键 
打开shell后，按ctl+n,新建文件，作用相当于File->New File 
F5保存文件，并在shell中输出结果 
（刚接触Python，个人觉得Python的错误提示不是有点隐晦） 
2、Python可应用的环境： 
 • 命令行窗口 
• 图形用户界面，包括Web 
• 客户端和服务端W]]></description><category></category></item><item><title><![CDATA[gtest笔记 ---测试类中的函数]]></title><link>https://blog.youkuaiyun.com/shurychen/article/details/53896795</link><guid>https://blog.youkuaiyun.com/shurychen/article/details/53896795</guid><author>shurychen</author><pubDate>Tue, 27 Dec 2016 16:41:46 +0800</pubDate><description><![CDATA[头文件：
#include"stdafx.h"
#include
#include 
using namespace std;
class CBox                                  // Class definition at global scope
{
public:
double m_Length ;                   //]]></description><category></category></item><item><title><![CDATA[模糊查询时能查到英文字段，但是查不到中文字段原因]]></title><link>https://blog.youkuaiyun.com/shurychen/article/details/51534403</link><guid>https://blog.youkuaiyun.com/shurychen/article/details/51534403</guid><author>shurychen</author><pubDate>Sun, 29 May 2016 22:20:05 +0800</pubDate><description><![CDATA[今天在做作业时，发现在数据库中不能插入中文，百度后发现这样一种方法insert into  Goods values(4,N'玉米',4,'~/Image/Others/yumi.jpg ',N'玉米',150);,就是在数据为nvarchar类型，然后在你要插入的中文字段前加N,这样做在插入时发现确认在数据库中插入中文，但是在网页中做查询时发现不能查询到中文内容，但是能查到英文的。后来发现还是数]]></description><category></category></item><item><title><![CDATA[ArgumentNullException: 值不能为 null问题]]></title><link>https://blog.youkuaiyun.com/shurychen/article/details/51193150</link><guid>https://blog.youkuaiyun.com/shurychen/article/details/51193150</guid><author>shurychen</author><pubDate>Tue, 19 Apr 2016 19:08:58 +0800</pubDate><description><![CDATA[今天做实验时遇到了这样的问题：
ArgumentNullException: 值不能为 null。
问题的错误提示如下：




行 14:         {
行 15:             string categoryId = Request.QueryString["CategoryId"];
行 16:             var category = (from ]]></description><category></category></item></channel></rss>