摘要:
用render_to_response去加载模板好像会得不到csrf_token的值 使用render(request,'/path/',{'params':params})能得到 如果一定要用render_to_response,加个参数context_instance=RequestContex 阅读全文
摘要:
1. string类型(字符串) string是redis最基本的类型,你可以理解成与Memcached一模一样的类型,一个key对应一个value。 string类型是二进制安全的。意思是redis的string可以包含任何数据。比如jpg图片或者序列化的对象 。 string类型是Redis最基 阅读全文