in the process of learning Django, I encountered a problem that does not match the document case. Of course, it may also be an error caused by my own inability to use it. Paste the code and ask God to solve
.
I have found some similar problems on the Internet, but the solution is to change the code to OK, as an official document.