摘要:
显示错误如下: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 阅读全文
摘要:
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.. 阅读全文