Page not found (404)

No Course matches the given query.
Request Method: GET
Request URL: https://roboprenr.com/courses/mechanical-for-seniors
Raised by: courses.views.course_details

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

  1. admin/
  2. accounts/
  3. accounts/
  4. home/
  5. learning-model [name='learning_model']
  6. how_it_works [name='how_it_works']
  7. demo_registration [name='demo_registration']
  8. best_robotics_and_coding [name='best_robotics_and_coding']
  9. contact [name='contact']
  10. privacy [name='privacy']
  11. shipping_policy [name='shipping_policy']
  12. refund_policy [name='refund_policy']
  13. terms_and_conditions [name='terms_and_conditions']
  14. disclaimer [name='disclaimer']
  15. courses/ [name='courses']
  16. courses/ <str:age_group_name>/ [name='courses']
  17. courses/ <slug:slug> [name='course_details']

The current path, courses/mechanical-for-seniors, 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.