![](https://img-blog.csdnimg.cn/20201014180756919.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
python
深海之石
java, python, spring, spring-boot, spring-cloud, flask, django, tornado,sqlalchemy
展开
-
django ajax关于csrf_token
django的ajax POST提价过程常常会出现403错误的解决 var myInit{ getCookie : function(name) { var cookieValue = null; if (document.cookie && document.cookie != '') { var cookies = document.cookie.split(';');原创 2013-04-09 22:31:48 · 1224 阅读 · 0 评论 -
python django二级分类表现
class Category(models.Model): title=models.CharField(max_length=100,verbose_name=_('title')) parent=models.ForeignKey("self",verbose_name=_('parent')) orderNum=models.IntegerField(defau原创 2013-04-06 23:04:23 · 1962 阅读 · 0 评论