How i can fix Cannot resolve keyword 'pub-date' into field. Choices are: choice, id, pub_date, question_text

Python django

when I starting local sever,

I met only

Cannot resolve keyword 'pub-date' into field. Choices are: choice, id, pub_date, question_text

how can i fix? window error

at first the problem was about direcotry, so read and search about django slash document. and then i ment a new problem rn..

You got this error because you have written pub-date instead of pub_date somewhere in your code.

Back to Top