Page not found (404)

“/home/Amirabas724/comany_oman_django/media/en/sample-page” does not exist
Request Method: GET
Request URL: https://www.business724.com/en/sample-page/
Raised by: django.views.static.serve

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

  1. accounts/
  2. accounts/
  3. change_lang/ [name='change_lang']
  4. en/ login/ [name='login']
  5. en/ signup/ [name='signup']
  6. en/ logout/ [name='logout']
  7. en/ reset_password/ [name='reset_password']
  8. en/ reset-password_sent/ [name='password_reset_done']
  9. en/ reset-password_complete/ [name='password_reset_complete']
  10. en/ reset/<uidb64>/<token>/ [name='password_reset_confirm']
  11. en/ admin/
  12. en/ [name='home']
  13. en/ dashboard/ [name='dashboard']
  14. en/ collaboration/ [name='collaboration']
  15. en/ contact/ [name='contact']
  16. en/ collaboration/ [name='collaboration']
  17. en/ success_submission/ [name='success_submission']
  18. en/ investment/ [name='investment']
  19. en/ investment_product/ [name='investment_product']
  20. en/ investment/<int:investment_id>/add_to_favorite/ [name='add_to_favorite']
  21. en/ remove_from_favorite/<int:investment_id>/ [name='remove_from_favorite']
  22. en/ category/<int:category_id>/ [name='category_detail']
  23. en/ product/<int:subfield_item_id>/ [name='product_detail']
  24. en/ categories/ [name='display_categories']
  25. en/ search/ [name='search_view']
  26. en/ about_us/ [name='about_us']
  27. en/ order_product/<int:product_id>/ [name='order_product']
  28. en/ order_investment/<int:investment_id>/ [name='order_investment']
  29. en/ job-application/ [name='job_application_form']
  30. en/ job-application/success/ [name='job_application_success']
  31. en/ product_assistance/ [name='product_assistance']
  32. en/ assistance_successful/ [name='assistance_successful']
  33. en/ team_member/<int:team_member_id>/ [name='team_member_detail']
  34. en/ category_list/ [name='category_list']
  35. en/ services/ [name='services']
  36. ^static/(?P<path>.*)$
  37. ^(?P<path>.*)$

The current path, en/sample-page/, 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.