Page not found (404)

No PostPage matches the given query.
Request Method: GET
Request URL: https://faceit.ir/news/1396/blackberry-confirms-priv-android-phone-will-launch-this-year/
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/1396/blackberry-confirms-priv-android-phone-will-launch-this-year/, 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.