摘要: 显示错误如下:TypeError at /books/contact/'instancemethod' object has no attribute '__getitem__'Request Method: POSTRequest URL: http://127.0.0.1:8000/books/contact/Django Version: 1.4.1Exception Type: TypeErrorException Value: 'instancemethod' object has no attribute '__getitem 阅读全文
posted @ 2012-08-29 15:43 事件轮询,回不到过去 阅读(4712) 评论(0) 推荐(0) 编辑
摘要: Forbidden (403)CSRF verification failed. Request aborted.HelpReason given for failure: CSRF token missing or incorrect. In general, this can occur when there is a genuine Cross Site Request Forgery, or when Django's CSRF mechanism has not been used correctly. For POST forms, you need to ensure.. 阅读全文
posted @ 2012-08-29 14:28 事件轮询,回不到过去 阅读(4668) 评论(0) 推荐(0) 编辑