<?xml version="1.0" encoding="utf-8"?><?xml-stylesheet href='http://feed.feedsky.com/styles/temp01.xsl' type='text/xsl' ?><!--这是一个由Feedsy提供技术支持的Feed，为了提高读者阅读的体验，以及满足用户美化自己Feed的需要，我们设计了多种精美的Feed模板，提供给大家选择，所有最终呈现出来的样式，皆由用户自愿选择使用，未经许可，任何团体和个人，请不要擅自修改样式或者盗用，这是对于用户选择权的尊重。--><rss xmlns:atom="http://www.w3.org/2005/Atom" xmlns:fs="http://www.feedsky.com/namespace/feed" xmlns:sy="http://purl.org/rss/1.0/modules/syndication/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:dc="http://purl.org/dc/elements/1.1/" version="2.0"><channel><atom:link href="http://feed.feedsky.com/fengg" type="application/rss+xml" rel="self"></atom:link><fs:self_link href="http://feed.feedsky.com/fengg" type="application/rss+xml"></fs:self_link><lastBuildDate>Tue, 04 Jan 2011 12:10:12 GMT</lastBuildDate><title>fengg</title><description>Just another WordPress weblog</description><link>http://fengg.net</link><sy:updatePeriod>hourly</sy:updatePeriod><sy:updateFrequency>1</sy:updateFrequency><language>en</language><pubDate>Sat, 08 Jan 2011 03:11:36 GMT</pubDate><item><title>Something is on</title><link>http://fengg.net/archives/227/</link><content:encoded>&lt;p&gt;心理学导论&lt;/p&gt;
&lt;p&gt;博弈论&lt;/p&gt;
&lt;p&gt;Dive into python&lt;/p&gt;
&lt;p&gt;The django book&lt;/p&gt;
&lt;hr /&gt;&lt;small&gt;Copyright &amp;copy; 2012 &lt;a href=&quot;http://fengg.net/&quot; &gt;Feng&lt;/a&gt; &lt;a href=&quot;http://fengg.net/archives/227/#comments&quot; title=&quot;to the comments&quot;&gt;本文评论&lt;/a&gt;（0）.本文地址：http://fengg.net/archives/227/ &lt;br /&gt;(数字指纹: 39217231eae085520227d83a8375a4f4)&lt;/small&gt;&lt;img src=&quot;http://www1.feedsky.com/t1/461253579/fengg/feedsky/s.gif?r=http://fengg.net/archives/227/&quot; border=&quot;0&quot; height=&quot;0&quot; width=&quot;0&quot; style=&quot;position:absolute&quot; /&gt;&lt;p class=&quot;fswww1&quot;&gt;&lt;a href=&quot;http://www1.feedsky.com/r/l/feedsky/fengg/461253579/art01.html&quot; target=&quot;_blank&quot;&gt;&lt;img border=&quot;0&quot; ismap=&quot;ismap&quot; src=&quot;http://www1.feedsky.com/r/i/feedsky/fengg/461253579/art01.gif&quot; onerror=&quot;this.style.display='none'&quot; /&gt;&lt;/a&gt;&lt;/p&gt;</content:encoded><wfw:commentRss>http://fengg.net/archives/227/feed/</wfw:commentRss><slash:comments>0</slash:comments><description>心理学导论 博弈论 Dive into python The django book Copyright &amp;#169; 2012 Feng 本文评论（0）.本文地址：http://fengg.net/archives/227/ (数字指纹: 39217231eae085520227d83a8375a4f4...&lt;img src=&quot;http://www1.feedsky.com/t1/461253579/fengg/feedsky/s.gif?r=http://fengg.net/archives/227/&quot; border=&quot;0&quot; height=&quot;0&quot; width=&quot;0&quot; style=&quot;position:absolute&quot; /&gt;&lt;p class=&quot;fswww1&quot;&gt;&lt;a href=&quot;http://www1.feedsky.com/r/l/feedsky/fengg/461253579/art01.html&quot; target=&quot;_blank&quot;&gt;&lt;img border=&quot;0&quot; ismap=&quot;ismap&quot; src=&quot;http://www1.feedsky.com/r/i/feedsky/fengg/461253579/art01.gif&quot; onerror=&quot;this.style.display='none'&quot; /&gt;&lt;/a&gt;&lt;/p&gt;</description><category>激石点滴</category><pubDate>Tue, 04 Jan 2011 20:10:12 +0800</pubDate><author>Feng</author><comments>http://fengg.net/archives/227/#comments</comments><guid isPermaLink="false">http://fengg.net/archives/227/</guid><dc:creator>Feng</dc:creator><fs:srclink>http://fengg.net/archives/227/</fs:srclink><fs:srcfeed>http://fengg.net/feed/</fs:srcfeed><fs:itemid>feedsky/fengg/~7240333/461253579/5349773</fs:itemid></item><item><title>拨云见日</title><link>http://fengg.net/archives/223/</link><content:encoded>&lt;p&gt;天空阴霾，只待一拨。&lt;/p&gt;
&lt;hr /&gt;&lt;small&gt;Copyright &amp;copy; 2012 &lt;a href=&quot;http://fengg.net/&quot; &gt;Feng&lt;/a&gt; &lt;a href=&quot;http://fengg.net/archives/223/#comments&quot; title=&quot;to the comments&quot;&gt;本文评论&lt;/a&gt;（0）.本文地址：http://fengg.net/archives/223/ &lt;br /&gt;(数字指纹: 39217231eae085520227d83a8375a4f4)&lt;/small&gt;&lt;img src=&quot;http://www1.feedsky.com/t1/461253580/fengg/feedsky/s.gif?r=http://fengg.net/archives/223/&quot; border=&quot;0&quot; height=&quot;0&quot; width=&quot;0&quot; style=&quot;position:absolute&quot; /&gt;&lt;p class=&quot;fswww1&quot;&gt;&lt;a href=&quot;http://www1.feedsky.com/r/l/feedsky/fengg/461253580/art01.html&quot; target=&quot;_blank&quot;&gt;&lt;img border=&quot;0&quot; ismap=&quot;ismap&quot; src=&quot;http://www1.feedsky.com/r/i/feedsky/fengg/461253580/art01.gif&quot; onerror=&quot;this.style.display='none'&quot; /&gt;&lt;/a&gt;&lt;/p&gt;</content:encoded><wfw:commentRss>http://fengg.net/archives/223/feed/</wfw:commentRss><slash:comments>0</slash:comments><description>天空阴霾，只待一拨。 Copyright &amp;#169; 2012 Feng 本文评论（0）.本文地址：http://fengg.net/archives/223/ (数字指纹: 39217231eae085520227d83a8375a4f4...&lt;img src=&quot;http://www1.feedsky.com/t1/461253580/fengg/feedsky/s.gif?r=http://fengg.net/archives/223/&quot; border=&quot;0&quot; height=&quot;0&quot; width=&quot;0&quot; style=&quot;position:absolute&quot; /&gt;&lt;p class=&quot;fswww1&quot;&gt;&lt;a href=&quot;http://www1.feedsky.com/r/l/feedsky/fengg/461253580/art01.html&quot; target=&quot;_blank&quot;&gt;&lt;img border=&quot;0&quot; ismap=&quot;ismap&quot; src=&quot;http://www1.feedsky.com/r/i/feedsky/fengg/461253580/art01.gif&quot; onerror=&quot;this.style.display='none'&quot; /&gt;&lt;/a&gt;&lt;/p&gt;</description><category>杂着说的</category><pubDate>Sun, 05 Dec 2010 21:01:27 +0800</pubDate><author>Feng</author><comments>http://fengg.net/archives/223/#comments</comments><guid isPermaLink="false">http://fengg.net/?p=223</guid><dc:creator>Feng</dc:creator><fs:srclink>http://fengg.net/archives/223/</fs:srclink><fs:srcfeed>http://fengg.net/feed/</fs:srcfeed><fs:itemid>feedsky/fengg/~7240333/461253580/5349773</fs:itemid></item><item><title>饭否-等你开饭</title><link>http://fengg.net/archives/207/</link><content:encoded>&lt;p&gt;&lt;a href=&quot;http://fanfou.com/&quot;&gt;&lt;img src=&quot;http://static.fanfou.com/fanfou20101125.jpg&quot; alt=&quot;&quot; width=&quot;1062&quot; height=&quot;417&quot; /&gt;&lt;/a&gt;&lt;br /&gt;
&lt;a href=&quot;http://fanfou.com/home&quot;&gt;http://fanfou.com/home&lt;/a&gt;&lt;/p&gt;
&lt;hr /&gt;&lt;small&gt;Copyright &amp;copy; 2012 &lt;a href=&quot;http://fengg.net/&quot; &gt;Feng&lt;/a&gt; &lt;a href=&quot;http://fengg.net/archives/207/#comments&quot; title=&quot;to the comments&quot;&gt;本文评论&lt;/a&gt;（0）.本文地址：http://fengg.net/archives/207/ &lt;br /&gt;(数字指纹: 39217231eae085520227d83a8375a4f4)&lt;/small&gt;&lt;img src=&quot;http://www1.feedsky.com/t1/461253581/fengg/feedsky/s.gif?r=http://fengg.net/archives/207/&quot; border=&quot;0&quot; height=&quot;0&quot; width=&quot;0&quot; style=&quot;position:absolute&quot; /&gt;&lt;p class=&quot;fswww1&quot;&gt;&lt;a href=&quot;http://www1.feedsky.com/r/l/feedsky/fengg/461253581/art01.html&quot; target=&quot;_blank&quot;&gt;&lt;img border=&quot;0&quot; ismap=&quot;ismap&quot; src=&quot;http://www1.feedsky.com/r/i/feedsky/fengg/461253581/art01.gif&quot; onerror=&quot;this.style.display='none'&quot; /&gt;&lt;/a&gt;&lt;/p&gt;</content:encoded><wfw:commentRss>http://fengg.net/archives/207/feed/</wfw:commentRss><slash:comments>0</slash:comments><description>http://fanfou.com/home Copyright &amp;#169; 2012 Feng 本文评论（0）.本文地址：http://fengg.net/archives/207/ (数字指纹: 39217231eae085520227d83a8375a4f4...&lt;img src=&quot;http://www1.feedsky.com/t1/461253581/fengg/feedsky/s.gif?r=http://fengg.net/archives/207/&quot; border=&quot;0&quot; height=&quot;0&quot; width=&quot;0&quot; style=&quot;position:absolute&quot; /&gt;&lt;p class=&quot;fswww1&quot;&gt;&lt;a href=&quot;http://www1.feedsky.com/r/l/feedsky/fengg/461253581/art01.html&quot; target=&quot;_blank&quot;&gt;&lt;img border=&quot;0&quot; ismap=&quot;ismap&quot; src=&quot;http://www1.feedsky.com/r/i/feedsky/fengg/461253581/art01.gif&quot; onerror=&quot;this.style.display='none'&quot; /&gt;&lt;/a&gt;&lt;/p&gt;</description><category>微博</category><category>杂着说的</category><category>饭否</category><pubDate>Tue, 30 Nov 2010 20:17:12 +0800</pubDate><author>Feng</author><comments>http://fengg.net/archives/207/#comments</comments><guid isPermaLink="false">http://fengg.net/?p=207</guid><dc:creator>Feng</dc:creator><fs:srclink>http://fengg.net/archives/207/</fs:srclink><fs:srcfeed>http://fengg.net/feed/</fs:srcfeed><fs:itemid>feedsky/fengg/~7240333/461253581/5349773</fs:itemid></item><item><title>《三体III●死神永生》-刘慈欣</title><link>http://fengg.net/archives/202/</link><content:encoded>&lt;p&gt;大刘的很geliable的力作。&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;《三体》，&lt;a href=&quot;http://www.inien.com/w/#/%E4%B8%89%E4%BD%93.html&quot;&gt;在线阅读和下载&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;《三体II●黑暗森林》，&lt;a href=&quot;http://www.inien.com/w/#/%E4%B8%89%E4%BD%93ii%20%E9%BB%91%E6%9A%97%E6%A3%AE%E6%9E%97.html&quot;&gt;在线阅读和下载&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;《三体III●死神永生》，&lt;a href=&quot;http://item.taobao.com/item.htm?id=8254427383&quot;&gt;科幻世界官方淘宝店订购地址&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;《星云II●球状闪电》，&lt;a href=&quot;http://www.inien.com/w/#/%E7%90%83%E7%8A%B6%E9%97%AA%E7%94%B5&quot;&gt;在线阅读和下载&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;hr /&gt;&lt;small&gt;Copyright &amp;copy; 2012 &lt;a href=&quot;http://fengg.net/&quot; &gt;Feng&lt;/a&gt; &lt;a href=&quot;http://fengg.net/archives/202/#comments&quot; title=&quot;to the comments&quot;&gt;本文评论&lt;/a&gt;（0）.本文地址：http://fengg.net/archives/202/ &lt;br /&gt;(数字指纹: 39217231eae085520227d83a8375a4f4)&lt;/small&gt;&lt;img src=&quot;http://www1.feedsky.com/t1/461253582/fengg/feedsky/s.gif?r=http://fengg.net/archives/202/&quot; border=&quot;0&quot; height=&quot;0&quot; width=&quot;0&quot; style=&quot;position:absolute&quot; /&gt;&lt;p class=&quot;fswww1&quot;&gt;&lt;a href=&quot;http://www1.feedsky.com/r/l/feedsky/fengg/461253582/art01.html&quot; target=&quot;_blank&quot;&gt;&lt;img border=&quot;0&quot; ismap=&quot;ismap&quot; src=&quot;http://www1.feedsky.com/r/i/feedsky/fengg/461253582/art01.gif&quot; onerror=&quot;this.style.display='none'&quot; /&gt;&lt;/a&gt;&lt;/p&gt;</content:encoded><wfw:commentRss>http://fengg.net/archives/202/feed/</wfw:commentRss><slash:comments>0</slash:comments><description>大刘的很geliable的力作。 《三体》，在线阅读和下载 《三体II●黑暗森林》，在线阅读和下载 《三体III●死神永生》，科幻世界官方淘宝店订购地址 《星云II●球状闪电》，在线阅读和下载 Cop...&lt;img src=&quot;http://www1.feedsky.com/t1/461253582/fengg/feedsky/s.gif?r=http://fengg.net/archives/202/&quot; border=&quot;0&quot; height=&quot;0&quot; width=&quot;0&quot; style=&quot;position:absolute&quot; /&gt;&lt;p class=&quot;fswww1&quot;&gt;&lt;a href=&quot;http://www1.feedsky.com/r/l/feedsky/fengg/461253582/art01.html&quot; target=&quot;_blank&quot;&gt;&lt;img border=&quot;0&quot; ismap=&quot;ismap&quot; src=&quot;http://www1.feedsky.com/r/i/feedsky/fengg/461253582/art01.gif&quot; onerror=&quot;this.style.display='none'&quot; /&gt;&lt;/a&gt;&lt;/p&gt;</description><category>读来读去</category><pubDate>Sun, 28 Nov 2010 20:02:55 +0800</pubDate><author>Feng</author><comments>http://fengg.net/archives/202/#comments</comments><guid isPermaLink="false">http://fengg.net/?p=202</guid><dc:creator>Feng</dc:creator><fs:srclink>http://fengg.net/archives/202/</fs:srclink><fs:srcfeed>http://fengg.net/feed/</fs:srcfeed><fs:itemid>feedsky/fengg/~7240333/461253582/5349773</fs:itemid></item><item><title>All is Hello World</title><link>http://fengg.net/archives/198/</link><content:encoded>&lt;p&gt;喜欢折腾各种技术，尝试各种“你吃了吗？”，干脆就在 Google code 上整了一个&lt;a href=&quot;http://code.google.com/p/fengg/&quot;&gt; repository&lt;/a&gt; 分享试过的各种果仁。&lt;/p&gt;
&lt;p&gt;Hello, 您吃了吗？&lt;/p&gt;
&lt;hr /&gt;&lt;small&gt;Copyright &amp;copy; 2012 &lt;a href=&quot;http://fengg.net/&quot; &gt;Feng&lt;/a&gt; &lt;a href=&quot;http://fengg.net/archives/198/#comments&quot; title=&quot;to the comments&quot;&gt;本文评论&lt;/a&gt;（0）.本文地址：http://fengg.net/archives/198/ &lt;br /&gt;(数字指纹: 39217231eae085520227d83a8375a4f4)&lt;/small&gt;&lt;img src=&quot;http://www1.feedsky.com/t1/461253583/fengg/feedsky/s.gif?r=http://fengg.net/archives/198/&quot; border=&quot;0&quot; height=&quot;0&quot; width=&quot;0&quot; style=&quot;position:absolute&quot; /&gt;&lt;p class=&quot;fswww1&quot;&gt;&lt;a href=&quot;http://www1.feedsky.com/r/l/feedsky/fengg/461253583/art01.html&quot; target=&quot;_blank&quot;&gt;&lt;img border=&quot;0&quot; ismap=&quot;ismap&quot; src=&quot;http://www1.feedsky.com/r/i/feedsky/fengg/461253583/art01.gif&quot; onerror=&quot;this.style.display='none'&quot; /&gt;&lt;/a&gt;&lt;/p&gt;</content:encoded><wfw:commentRss>http://fengg.net/archives/198/feed/</wfw:commentRss><slash:comments>0</slash:comments><description>喜欢折腾各种技术，尝试各种“你吃了吗？”，干脆就在 Google code 上整了一个 repository 分享试过的各种果仁。 Hello, 您吃了吗？ Copyright &amp;#169; 2012 Feng 本文评论（0）.本文地址：http://fengg.net/archiv...&lt;img src=&quot;http://www1.feedsky.com/t1/461253583/fengg/feedsky/s.gif?r=http://fengg.net/archives/198/&quot; border=&quot;0&quot; height=&quot;0&quot; width=&quot;0&quot; style=&quot;position:absolute&quot; /&gt;&lt;p class=&quot;fswww1&quot;&gt;&lt;a href=&quot;http://www1.feedsky.com/r/l/feedsky/fengg/461253583/art01.html&quot; target=&quot;_blank&quot;&gt;&lt;img border=&quot;0&quot; ismap=&quot;ismap&quot; src=&quot;http://www1.feedsky.com/r/i/feedsky/fengg/461253583/art01.gif&quot; onerror=&quot;this.style.display='none'&quot; /&gt;&lt;/a&gt;&lt;/p&gt;</description><category>编码</category><category>码上码下</category><category>技术</category><pubDate>Sun, 28 Nov 2010 19:50:52 +0800</pubDate><author>Feng</author><comments>http://fengg.net/archives/198/#comments</comments><guid isPermaLink="false">http://fengg.net/?p=198</guid><dc:creator>Feng</dc:creator><fs:srclink>http://fengg.net/archives/198/</fs:srclink><fs:srcfeed>http://fengg.net/feed/</fs:srcfeed><fs:itemid>feedsky/fengg/~7240333/461253583/5349773</fs:itemid></item><item><title>当我谈跑步时，我在谈些什么</title><link>http://fengg.net/archives/188/</link><content:encoded>&lt;p&gt;是的，我在读村上的《当我谈跑步时，我在谈些什么》。&lt;/p&gt;
&lt;p&gt;去年已经听道长介绍过了，一直没有去读，也许是没有想去读。也许是一时兴起，也是就是个ghost，或是daemon，总之我要读它了，我也在跑步。&lt;/p&gt;
&lt;p&gt;那就从这句开始吧，“Pain is inevitable,Suffering is optional”.&lt;/p&gt;
&lt;p&gt;另外，今天天气不错，但是我没有时间享用。&lt;/p&gt;
&lt;hr /&gt;&lt;small&gt;Copyright &amp;copy; 2012 &lt;a href=&quot;http://fengg.net/&quot; &gt;Feng&lt;/a&gt; &lt;a href=&quot;http://fengg.net/archives/188/#comments&quot; title=&quot;to the comments&quot;&gt;本文评论&lt;/a&gt;（0）.本文地址：http://fengg.net/archives/188/ &lt;br /&gt;(数字指纹: 39217231eae085520227d83a8375a4f4)&lt;/small&gt;&lt;img src=&quot;http://www1.feedsky.com/t1/461253584/fengg/feedsky/s.gif?r=http://fengg.net/archives/188/&quot; border=&quot;0&quot; height=&quot;0&quot; width=&quot;0&quot; style=&quot;position:absolute&quot; /&gt;&lt;p class=&quot;fswww1&quot;&gt;&lt;a href=&quot;http://www1.feedsky.com/r/l/feedsky/fengg/461253584/art01.html&quot; target=&quot;_blank&quot;&gt;&lt;img border=&quot;0&quot; ismap=&quot;ismap&quot; src=&quot;http://www1.feedsky.com/r/i/feedsky/fengg/461253584/art01.gif&quot; onerror=&quot;this.style.display='none'&quot; /&gt;&lt;/a&gt;&lt;/p&gt;</content:encoded><wfw:commentRss>http://fengg.net/archives/188/feed/</wfw:commentRss><slash:comments>0</slash:comments><description>是的，我在读村上的《当我谈跑步时，我在谈些什么》。 去年已经听道长介绍过了，一直没有去读，也许是没有想去读。也许是一时兴起，也是就是个ghost，或是daemon，总之我要读它了，我也...&lt;img src=&quot;http://www1.feedsky.com/t1/461253584/fengg/feedsky/s.gif?r=http://fengg.net/archives/188/&quot; border=&quot;0&quot; height=&quot;0&quot; width=&quot;0&quot; style=&quot;position:absolute&quot; /&gt;&lt;p class=&quot;fswww1&quot;&gt;&lt;a href=&quot;http://www1.feedsky.com/r/l/feedsky/fengg/461253584/art01.html&quot; target=&quot;_blank&quot;&gt;&lt;img border=&quot;0&quot; ismap=&quot;ismap&quot; src=&quot;http://www1.feedsky.com/r/i/feedsky/fengg/461253584/art01.gif&quot; onerror=&quot;this.style.display='none'&quot; /&gt;&lt;/a&gt;&lt;/p&gt;</description><category>跑步</category><category>读来读去</category><category>村上春树</category><pubDate>Sun, 18 Jul 2010 17:19:06 +0800</pubDate><author>Feng</author><comments>http://fengg.net/archives/188/#comments</comments><guid isPermaLink="false">http://fengg.net/archives/188/</guid><dc:creator>Feng</dc:creator><fs:srclink>http://fengg.net/archives/188/</fs:srclink><fs:srcfeed>http://fengg.net/feed/</fs:srcfeed><fs:itemid>feedsky/fengg/~7240333/461253584/5349773</fs:itemid></item><item><title>CSRF verification failed. Request aborted.</title><link>http://fengg.net/archives/186/</link><content:encoded>&lt;p&gt;运行Django Step by Step第二节的例子，出现如下错误，解决方法是：修改settings.py，添加‘django.middleware.csrf.CsrfResponseMiddleware’，最后结构如下：
&lt;p&gt;MIDDLEWARE_CLASSES = (    &lt;br /&gt;‘django.middleware.common.CommonMiddleware’,     &lt;br /&gt;‘django.contrib.sessions.middleware.SessionMiddleware’,     &lt;br /&gt;‘django.contrib.auth.middleware.AuthenticationMiddleware’,     &lt;br /&gt;‘django.middleware.csrf.CsrfViewMiddleware’,     &lt;br /&gt;‘django.middleware.csrf.CsrfResponseMiddleware’,     &lt;br /&gt;)&lt;/p&gt;
&lt;p&gt;&amp;#160;&lt;/p&gt;
&lt;h3&gt;403 Forbidden&lt;/h3&gt;
&lt;p&gt;CSRF verification failed. Request aborted.&lt;/p&gt;
&lt;h4&gt;Help&lt;/h4&gt;
&lt;p&gt;Reason given for failure:&lt;/p&gt;
&lt;pre&gt;    CSRF token missing or incorrect.
    &lt;/pre&gt;
&lt;p&gt;In general, this can occur when there is a genuine Cross Site Request Forgery, or when &lt;a href=&quot;http://docs.djangoproject.com/en/dev/ref/contrib/csrf/#ref-contrib-csrf&quot;&gt;Django&amp;#8217;s CSRF mechanism&lt;/a&gt; has not been used correctly. For POST forms, you need to ensure:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;The view function uses &lt;a href=&quot;http://docs.djangoproject.com/en/dev/ref/templates/api/#subclassing-context-requestcontext&quot;&gt;&lt;code&gt;RequestContext&lt;/code&gt;&lt;/a&gt; for the template, instead of &lt;code&gt;Context&lt;/code&gt;. &lt;/li&gt;
&lt;li&gt;In the template, there is a &lt;code&gt;{% csrf_token %}&lt;/code&gt; template tag inside each POST form that targets an internal URL. &lt;/li&gt;
&lt;li&gt;If you are not using &lt;code&gt;CsrfViewMiddleware&lt;/code&gt;, then you must use &lt;code&gt;csrf_protect&lt;/code&gt; on any views that use the &lt;code&gt;csrf_token&lt;/code&gt; template tag, as well as those that accept the POST data. &lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;You&amp;#8217;re seeing the help section of this page because you have &lt;code&gt;DEBUG = True&lt;/code&gt; in your Django settings file. Change that to &lt;code&gt;False&lt;/code&gt;, and only the initial error message will be displayed. &lt;/p&gt;
&lt;p&gt;You can customize this page using the CSRF_FAILURE_VIEW setting.&lt;/p&gt;
&lt;hr /&gt;&lt;small&gt;Copyright &amp;copy; 2012 &lt;a href=&quot;http://fengg.net/&quot; &gt;Feng&lt;/a&gt; &lt;a href=&quot;http://fengg.net/archives/186/#comments&quot; title=&quot;to the comments&quot;&gt;本文评论&lt;/a&gt;（0）.本文地址：http://fengg.net/archives/186/ &lt;br /&gt;(数字指纹: 39217231eae085520227d83a8375a4f4)&lt;/small&gt;&lt;img src=&quot;http://www1.feedsky.com/t1/461253585/fengg/feedsky/s.gif?r=http://fengg.net/archives/186/&quot; border=&quot;0&quot; height=&quot;0&quot; width=&quot;0&quot; style=&quot;position:absolute&quot; /&gt;&lt;p class=&quot;fswww1&quot;&gt;&lt;a href=&quot;http://www1.feedsky.com/r/l/feedsky/fengg/461253585/art01.html&quot; target=&quot;_blank&quot;&gt;&lt;img border=&quot;0&quot; ismap=&quot;ismap&quot; src=&quot;http://www1.feedsky.com/r/i/feedsky/fengg/461253585/art01.gif&quot; onerror=&quot;this.style.display='none'&quot; /&gt;&lt;/a&gt;&lt;/p&gt;</content:encoded><wfw:commentRss>http://fengg.net/archives/186/feed/</wfw:commentRss><slash:comments>0</slash:comments><description>运行Django Step by Step第二节的例子，出现如下错误，解决方法是：修改settings.py，添加‘django.middleware.csrf.CsrfResponseMiddleware’，最后结构如下： MIDDLEWARE_CLASSES = ( ‘django.middleware.common.CommonMiddleware...&lt;img src=&quot;http://www1.feedsky.com/t1/461253585/fengg/feedsky/s.gif?r=http://fengg.net/archives/186/&quot; border=&quot;0&quot; height=&quot;0&quot; width=&quot;0&quot; style=&quot;position:absolute&quot; /&gt;&lt;p class=&quot;fswww1&quot;&gt;&lt;a href=&quot;http://www1.feedsky.com/r/l/feedsky/fengg/461253585/art01.html&quot; target=&quot;_blank&quot;&gt;&lt;img border=&quot;0&quot; ismap=&quot;ismap&quot; src=&quot;http://www1.feedsky.com/r/i/feedsky/fengg/461253585/art01.gif&quot; onerror=&quot;this.style.display='none'&quot; /&gt;&lt;/a&gt;&lt;/p&gt;</description><category>码上码下</category><category>python</category><category>django</category><pubDate>Sun, 11 Jul 2010 21:29:47 +0800</pubDate><author>Feng</author><comments>http://fengg.net/archives/186/#comments</comments><guid isPermaLink="false">http://fengg.net/archives/186/</guid><dc:creator>Feng</dc:creator><fs:srclink>http://fengg.net/archives/186/</fs:srclink><fs:srcfeed>http://fengg.net/feed/</fs:srcfeed><fs:itemid>feedsky/fengg/~7240333/461253585/5349773</fs:itemid></item><item><title>Petri 网之父辞世</title><link>http://fengg.net/archives/177/</link><content:encoded>&lt;p&gt;&lt;img src=&quot;http://news.csdn.net/a//uploads/2010/07/07/20100707-011232-pic1.jpg&quot; alt=&quot;&quot; /&gt;&lt;/p&gt;
&lt;p&gt;（图片来自Wikipedia）&lt;/p&gt;
&lt;p&gt;2010年7月2日，著名德国数学家、计算机科学家Carl Adam  Petri与世长辞，享年83岁。他在计算机科学方面的主要成就，是提出了用于描述和建模分布式并发系统的&lt;strong&gt;Petri网&lt;/strong&gt;模 型和以此模型为基础发展出来的&lt;strong&gt;网论&lt;/strong&gt;（net  theory），在软件设计（尤其是模型驱动设计）、工作流管理、流程控制、协议验证、机械工程等领域都有广泛应用。&lt;/p&gt;
&lt;p&gt;与其他工业标准如UML活动图、BPMN不同的是，Petri网既有严格的数学表述方式，也有直观的图形表达方式。Petri网的模拟能力已被证明 与图灵机是等价的。但Petri网也有所建模型容易变得非常庞大等缺点。&lt;/p&gt;
&lt;p&gt;按Wikipedia中文版的描述：&lt;/p&gt;
&lt;blockquote&gt;&lt;p&gt;经典的Petri网是简单的过程模型，由两种节点：库所（place）和变迁（transition）、有向弧以及令牌 （token）等元素组成的。&lt;img src=&quot;http://news.csdn.net/a//uploads/2010/07/07/20100707-023258-pic1.JPG&quot; alt=&quot;&quot; /&gt;&lt;/p&gt;&lt;/blockquote&gt;
&lt;p&gt;【人物小传】&lt;/p&gt;
&lt;p&gt;1926年7月12日Petri生于德国莱比锡。根据&lt;a href=&quot;http://www.informatik.uni-hamburg.de/TGI/mitarbeiter/profs/petri/laudatio.html&quot;&gt;好 友的回忆&lt;/a&gt;，Petri的父亲是一位数学家，给他讲过许多数学家的故事，因此他从小就对数学发生了兴趣。而且由于父亲的关系，他得以很早就读到爱因 斯坦的著作，当时这些书在德国还是禁书。&lt;/p&gt;
&lt;p&gt;1939年，他13岁那年，为了描述化学过程而产生了Petri网（这个名字当然是后来其他人命名的）的最初想法。但这一想法直到1962年他写作 博士论文“Kommunikation  mit Automaten”（用自动机通信）才第一次以文献形式公诸于世。（&lt;a href=&quot;http://www.scholarpedia.org/article/Petri_net&quot;&gt;Petri的文章&lt;/a&gt;）&lt;/p&gt;
&lt;p&gt;1941年，父亲给他介绍了德国计算机先驱Konrad  Zuse的工作，立即引起了他对计算机的兴趣。除了计算机理论研究之外，他甚至自己设计了一台小的模拟计算机。&lt;/p&gt;
&lt;p&gt;1944年他刚刚高中毕业，就被迫加入了纳粹德军。后被英军俘虏，监禁在英国，直到1949年才被释放。（&lt;a href=&quot;http://www.informatik.uni-hamburg.de/TGI/PetriNets/history/CAPetriAndPetriNets.pdf&quot;&gt;Wilfried  Brauer, Wolfgang Reisig&lt;/a&gt;）在此期间，他一直在思考计算的本质，模拟计算和数字计算的差异等重大课题。他发现，已有的计 算机理论如自动机和形式语言不适合描述物理系统，缺乏重要的并发概念。&lt;/p&gt;
&lt;p&gt;1950年，他返回德国，在汉诺威工业大学（ Technical University  Hannover）学习数学，并曾在IBM接受一年培训。1956年获得学位，并留校任教。1959年转到波恩大学任教并攻读博士学位。&lt;/p&gt;
&lt;p&gt;1962年他在达姆施塔特工业大学获得博士学位。此后的科研生涯中，他创建了波恩大学的计算中心，并担任过德国国家数学与计算中心主任等职。&lt;/p&gt;
&lt;p&gt;1989年他当选欧洲科学院院士。2008年他荣获计算机领域最高荣誉之一IEEE计算机先驱奖。他对计算机科学的贡献，可以在Milner  1991年图灵奖获奖演讲中的话得到充分证明：&lt;/p&gt;
&lt;blockquote&gt;&lt;p&gt;“一直以来我叙述的许多内容，其实Petri在1960年代已经想到了，他是离散并发系统的科学建模的先驱。他的工作是并发理论 的源头。”&lt;/p&gt;&lt;/blockquote&gt;
&lt;p&gt;应该说，Petri网是超越时代的，虽然在学术界一直有一些影响，但工业界注意到它的重要性，还是近年的事情。此前多年，Petri本人一直比较寂 寞。但终其一生，他都在并发理论不断前行，硕果累累。&lt;/p&gt;
&lt;hr /&gt;&lt;small&gt;Copyright &amp;copy; 2012 &lt;a href=&quot;http://fengg.net/&quot; &gt;Feng&lt;/a&gt; &lt;a href=&quot;http://fengg.net/archives/177/#comments&quot; title=&quot;to the comments&quot;&gt;本文评论&lt;/a&gt;（0）.本文地址：http://fengg.net/archives/177/ &lt;br /&gt;(数字指纹: 39217231eae085520227d83a8375a4f4)&lt;/small&gt;&lt;img src=&quot;http://www1.feedsky.com/t1/461253586/fengg/feedsky/s.gif?r=http://fengg.net/archives/177/&quot; border=&quot;0&quot; height=&quot;0&quot; width=&quot;0&quot; style=&quot;position:absolute&quot; /&gt;&lt;p class=&quot;fswww1&quot;&gt;&lt;a href=&quot;http://www1.feedsky.com/r/l/feedsky/fengg/461253586/art01.html&quot; target=&quot;_blank&quot;&gt;&lt;img border=&quot;0&quot; ismap=&quot;ismap&quot; src=&quot;http://www1.feedsky.com/r/i/feedsky/fengg/461253586/art01.gif&quot; onerror=&quot;this.style.display='none'&quot; /&gt;&lt;/a&gt;&lt;/p&gt;</content:encoded><wfw:commentRss>http://fengg.net/archives/177/feed/</wfw:commentRss><slash:comments>0</slash:comments><description>（图片来自Wikipedia） 2010年7月2日，著名德国数学家、计算机科学家Carl Adam Petri与世长辞，享年83岁。他在计算机科学方面的主要成就，是提出了用于描述和建模分布式并发系统的Petri网模 型和...&lt;img src=&quot;http://www1.feedsky.com/t1/461253586/fengg/feedsky/s.gif?r=http://fengg.net/archives/177/&quot; border=&quot;0&quot; height=&quot;0&quot; width=&quot;0&quot; style=&quot;position:absolute&quot; /&gt;&lt;p class=&quot;fswww1&quot;&gt;&lt;a href=&quot;http://www1.feedsky.com/r/l/feedsky/fengg/461253586/art01.html&quot; target=&quot;_blank&quot;&gt;&lt;img border=&quot;0&quot; ismap=&quot;ismap&quot; src=&quot;http://www1.feedsky.com/r/i/feedsky/fengg/461253586/art01.gif&quot; onerror=&quot;this.style.display='none'&quot; /&gt;&lt;/a&gt;&lt;/p&gt;</description><category>petri net</category><category>数学算法</category><pubDate>Fri, 09 Jul 2010 17:33:24 +0800</pubDate><author>Feng</author><comments>http://fengg.net/archives/177/#comments</comments><guid isPermaLink="false">http://fengg.net/?p=177</guid><dc:creator>Feng</dc:creator><fs:srclink>http://fengg.net/archives/177/</fs:srclink><fs:srcfeed>http://fengg.net/feed/</fs:srcfeed><fs:itemid>feedsky/fengg/~7240333/461253586/5349773</fs:itemid></item><item><title>几本GTD的书</title><link>http://fengg.net/archives/175/</link><content:encoded>&lt;h3&gt;&lt;a href=&quot;http://cid-2bd6705baa114e04.office.live.com/self.aspx/.Public/thinking/%E5%B0%BD%E7%AE%A1%E5%8E%BB%E5%81%9A%E2%80%94%E2%80%94%E6%97%A0%E5%8E%8B%E5%B7%A5%E4%BD%9C%E7%9A%84%E8%89%BA%E6%9C%AF.pdf&quot; target=&quot;_blank&quot;&gt;尽管去做——无压工作的艺术&lt;/a&gt;&lt;/h3&gt;
&lt;h3&gt;&lt;a href=&quot;http://cid-2bd6705baa114e04.office.live.com/self.aspx/.Public/thinking/%E3%80%8A%E9%AB%98%E6%95%88%E8%83%BD%E4%BA%BA%E5%A3%AB%E7%9A%84%E4%B8%83%E4%B8%AA%E4%B9%A0%E6%83%AF%E3%80%8B%5E5%E4%B8%AD%E6%96%87%E7%89%88%5E6%5E.pdf&quot; target=&quot;_blank&quot;&gt;《高效能人士的七个习惯》(中文版)..pdf&lt;/a&gt;&lt;/h3&gt;
&lt;h3&gt;&lt;a href=&quot;http://cid-2bd6705baa114e04.office.live.com/self.aspx/.Public/thinking/Getting%5E_Real.chm&quot; target=&quot;_blank&quot;&gt;Getting_Real.chm&lt;/a&gt;&lt;/h3&gt;
&lt;h3&gt;&lt;a href=&quot;http://cid-2bd6705baa114e04.office.live.com/self.aspx/.Public/thinking/readyforanything.pdf&quot; target=&quot;_blank&quot;&gt;readyforanything&lt;/a&gt;&lt;/h3&gt;
&lt;hr /&gt;&lt;small&gt;Copyright &amp;copy; 2012 &lt;a href=&quot;http://fengg.net/&quot; &gt;Feng&lt;/a&gt; &lt;a href=&quot;http://fengg.net/archives/175/#comments&quot; title=&quot;to the comments&quot;&gt;本文评论&lt;/a&gt;（0）.本文地址：http://fengg.net/archives/175/ &lt;br /&gt;(数字指纹: 39217231eae085520227d83a8375a4f4)&lt;/small&gt;&lt;img src=&quot;http://www1.feedsky.com/t1/461253587/fengg/feedsky/s.gif?r=http://fengg.net/archives/175/&quot; border=&quot;0&quot; height=&quot;0&quot; width=&quot;0&quot; style=&quot;position:absolute&quot; /&gt;&lt;p class=&quot;fswww1&quot;&gt;&lt;a href=&quot;http://www1.feedsky.com/r/l/feedsky/fengg/461253587/art01.html&quot; target=&quot;_blank&quot;&gt;&lt;img border=&quot;0&quot; ismap=&quot;ismap&quot; src=&quot;http://www1.feedsky.com/r/i/feedsky/fengg/461253587/art01.gif&quot; onerror=&quot;this.style.display='none'&quot; /&gt;&lt;/a&gt;&lt;/p&gt;</content:encoded><wfw:commentRss>http://fengg.net/archives/175/feed/</wfw:commentRss><slash:comments>0</slash:comments><description>尽管去做——无压工作的艺术 《高效能人士的七个习惯》(中文版)..pdf Getting_Real.chm readyforanything Copyright &amp;#169; 2012 Feng 本文评论（0）.本文地址：http://fengg.net/archives/175/ (数字指纹: 39217231eae08552022...&lt;img src=&quot;http://www1.feedsky.com/t1/461253587/fengg/feedsky/s.gif?r=http://fengg.net/archives/175/&quot; border=&quot;0&quot; height=&quot;0&quot; width=&quot;0&quot; style=&quot;position:absolute&quot; /&gt;&lt;p class=&quot;fswww1&quot;&gt;&lt;a href=&quot;http://www1.feedsky.com/r/l/feedsky/fengg/461253587/art01.html&quot; target=&quot;_blank&quot;&gt;&lt;img border=&quot;0&quot; ismap=&quot;ismap&quot; src=&quot;http://www1.feedsky.com/r/i/feedsky/fengg/461253587/art01.gif&quot; onerror=&quot;this.style.display='none'&quot; /&gt;&lt;/a&gt;&lt;/p&gt;</description><category>gtd</category><category>读来读去</category><category>时间管理</category><pubDate>Wed, 07 Jul 2010 20:58:41 +0800</pubDate><author>Feng</author><comments>http://fengg.net/archives/175/#comments</comments><guid isPermaLink="false">http://fengg.net/archives/175/</guid><dc:creator>Feng</dc:creator><fs:srclink>http://fengg.net/archives/175/</fs:srclink><fs:srcfeed>http://fengg.net/feed/</fs:srcfeed><fs:itemid>feedsky/fengg/~7240333/461253587/5349773</fs:itemid></item><item><title>记那么一点</title><link>http://fengg.net/archives/172/</link><content:encoded>&lt;p&gt;争取点滴。&lt;/p&gt;
&lt;hr /&gt;&lt;small&gt;Copyright &amp;copy; 2012 &lt;a href=&quot;http://fengg.net/&quot; &gt;Feng&lt;/a&gt; &lt;a href=&quot;http://fengg.net/archives/172/#comments&quot; title=&quot;to the comments&quot;&gt;本文评论&lt;/a&gt;（0）.本文地址：http://fengg.net/archives/172/ &lt;br /&gt;(数字指纹: 39217231eae085520227d83a8375a4f4)&lt;/small&gt;&lt;img src=&quot;http://www1.feedsky.com/t1/461253588/fengg/feedsky/s.gif?r=http://fengg.net/archives/172/&quot; border=&quot;0&quot; height=&quot;0&quot; width=&quot;0&quot; style=&quot;position:absolute&quot; /&gt;&lt;p class=&quot;fswww1&quot;&gt;&lt;a href=&quot;http://www1.feedsky.com/r/l/feedsky/fengg/461253588/art01.html&quot; target=&quot;_blank&quot;&gt;&lt;img border=&quot;0&quot; ismap=&quot;ismap&quot; src=&quot;http://www1.feedsky.com/r/i/feedsky/fengg/461253588/art01.gif&quot; onerror=&quot;this.style.display='none'&quot; /&gt;&lt;/a&gt;&lt;/p&gt;</content:encoded><wfw:commentRss>http://fengg.net/archives/172/feed/</wfw:commentRss><slash:comments>0</slash:comments><description>争取点滴。 Copyright &amp;#169; 2012 Feng 本文评论（0）.本文地址：http://fengg.net/archives/172/ (数字指纹: 39217231eae085520227d83a8375a4f4...&lt;img src=&quot;http://www1.feedsky.com/t1/461253588/fengg/feedsky/s.gif?r=http://fengg.net/archives/172/&quot; border=&quot;0&quot; height=&quot;0&quot; width=&quot;0&quot; style=&quot;position:absolute&quot; /&gt;&lt;p class=&quot;fswww1&quot;&gt;&lt;a href=&quot;http://www1.feedsky.com/r/l/feedsky/fengg/461253588/art01.html&quot; target=&quot;_blank&quot;&gt;&lt;img border=&quot;0&quot; ismap=&quot;ismap&quot; src=&quot;http://www1.feedsky.com/r/i/feedsky/fengg/461253588/art01.gif&quot; onerror=&quot;this.style.display='none'&quot; /&gt;&lt;/a&gt;&lt;/p&gt;</description><category>点滴</category><category>杂着说的</category><pubDate>Mon, 05 Jul 2010 22:11:00 +0800</pubDate><author>Feng</author><comments>http://fengg.net/archives/172/#comments</comments><guid isPermaLink="false">http://fengg.net/archives/172/</guid><dc:creator>Feng</dc:creator><fs:srclink>http://fengg.net/archives/172/</fs:srclink><fs:srcfeed>http://fengg.net/feed/</fs:srcfeed><fs:itemid>feedsky/fengg/~7240333/461253588/5349773</fs:itemid></item></channel></rss>
