Page not found (404)

Request Method: GET
Request URL: https://www.prepastrat.com/mentions-legales/
Raised by: wagtail.views.serve

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

  1. django-admin/
  2. admin/
  3. documents/
  4. search/ [name='search']
  5. signup/ [name='account_signup']
  6. login/ [name='account_login']
  7. logout/ [name='account_logout']
  8. password/change/ [name='account_change_password']
  9. password/set/ [name='account_set_password']
  10. inactive/ [name='account_inactive']
  11. email/ [name='account_email']
  12. confirm-email/ [name='account_email_verification_sent']
  13. ^confirm-email/(?P<key>[-:\w]+)/$ [name='account_confirm_email']
  14. password/reset/ [name='account_reset_password']
  15. password/reset/done/ [name='account_reset_password_done']
  16. ^password/reset/key/(?P<uidb36>[0-9A-Za-z]+)-(?P<key>.+)/$ [name='account_reset_password_from_key']
  17. password/reset/key/done/ [name='account_reset_password_from_key_done']
  18. social/
  19. contact_us/ [name='contact_us']
  20. newsletter/ [name='newsletter']
  21. sign_webinar/ [name='sign_webinar']
  22. guide_ultime/ [name='guide_ultime']
  23. send_to_zapier/ [name='send_to_zapier']
  24. edit_profile/ [name='edit_profile']
  25. delete_profile/ [name='delete_profile']
  26. apply_profile_edit/ [name='apply_profile_edit']
  27. e-learning/partners/filter/ [name='request_filter_user']
  28. e-learning/cases/filter/ [name='request_filter_case']
  29. toggle_read/<int:lesson_id> [name='toggle_read']
  30. toggle_chapter_read/<int:chapter_id> [name='toggle_chapter_read']
  31. ask_friend/<int:friend_id> [name='ask_friend']
  32. cancel_ask/<int:friend_id> [name='cancel_ask']
  33. accept_friend/<int:friend_id> [name='accept_friend']
  34. remove_friend/<int:friend_id> [name='remove_friend']
  35. reject_friend/<int:friend_id> [name='reject_friend']
  36. sitemap.xml
  37. robots.txt
  38. export-csv/ [name='export_csv']
  39. _util/authenticate_with_password/<int:page_view_restriction_id>/<int:page_id>/ [name='wagtailcore_authenticate_with_password']
  40. _util/login/ [name='wagtailcore_login']
  41. ^((?:[\w\-]+/)*)$ [name='wagtail_serve']

The current path, mentions-legales/, 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.