Page not found (404) No Topic matches the given query. Request Method: GET Request URL: http://127.0.0.1:8000/boards/1/topics/9/ Raised by: boards.views.topic_posts Using the URLconf defined in discussion_board.urls, Django tried these URL patterns, in this order:
- admin/ [name='home'] boards/int:board_id/ [name='board_topics'] boards/int:board_id/new [name='new_topic'] boards/int:board_id/topics/int:topic_id/ [name='topic_posts']
The current path, boards/1/topics/9/, matched the last one.`enter code here
You’re seeing this error because you have DEBUG = True in your Django settings file. Change that to False, and Django will display a standard 404 page.
-