Page not found (404)

No PostPage matches the given query.
Request Method: GET
Request URL: https://faceit.ir/news/8181/2016--Galaxy-On7-%25D8%25B1%25D8%25B3%25D9%2585%25D8%25A7-%25D9%2585%25D8%25B9%25D8%25B1%25D9%2581%25DB%258C-%25D8%25B4%25D8%25AF/
Raised by: front.views.old_post_view

Using the URLconf defined in newsroom.urls, Django tried these URL patterns, in this order:

  1. django-admin/
  2. robots.txt [name='add_comment2']
  3. sitemap.xml [name='django.contrib.sitemaps.views.index']
  4. sitemap-<section>.xml [name='django.contrib.sitemaps.views.sitemap']
  5. inja/ [name='add_comment2']
  6. approve_comments/ [name='approve_comments']
  7. subscribe/<txt>/ [name='subscribe_done']
  8. subscribe/ [name='subscribe']
  9. post/add_comment/<int:post_id>/ [name='add_comment']
  10. post/add_comment/<int:post_id>/<txt> [name='add_comment_done']
  11. news/<int:post_old_id>/ [name='old_post']
  12. news/<int:post_old_id>/<str:slug>/ [name='old_post_with_slug']

The current path, news/8181/2016--Galaxy-On7-%D8%B1%D8%B3%D9%85%D8%A7-%D9%85%D8%B9%D8%B1%D9%81%DB%8C-%D8%B4%D8%AF/, matched the last one.

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.