摘要:
错误标题:'str' object has no attribute 'regex'错误描述:AttributeError at /user/register/'str' object has no attribute 'regex'Request Method: POST Request URL: http://127.0.0.1:8000/user/register/ Django Version: 1.3.1 Exception Type: AttributeError Exception Value: 'str 阅读全文
摘要:
错误标题:CSRF verification failed. Request aborted.错误描述:HelpReason given for failure: CSRF cookie not set. 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: * The view f... 阅读全文