Page not found (404)

Request Method: GET
Request URL: http://testserver/photos/galleries/house5

Using the URLconf defined in config.base_urls, Django tried these URL patterns, in this order:

  1. __debug__/
  2. tag-autocomplete/ [name='tag-autocomplete']
  3. ap-autocomplete/ [name='ap-autocomplete']
  4. ^admin/build/.*
  5. admin/data/
  6. admin/income/invoice/monthlyview/<str:slug>/invoice/ [name='download-invoice']
  7. admin/income/invoice/monthlyview/<str:slug>/ [name='monthly-invoice']
  8. admin/
  9. luximages/insert/
  10. sitemap.xml
  11. links/
  12. jrnl/
  13. projects/
  14. locations/
  15. expenses/
  16. photos/ daily/<int:page> [name='daily_photo_list']
  17. photos/ daily/ [name='daily_photo_list']
  18. photos/ data/(<str:slug>/
  19. photos/ data/admin/preview/(?P<pk>\d+)/$ [name='admin_image_preview']
  20. photos/ data/admin/tn/(?P<pk>\d+)/$ [name='admin_thumb_preview']
  21. books/
  22. people/
  23. dialogues/
  24. field-notes/
  25. src/
  26. figments/
  27. resume/
  28. map
  29. map/
  30. [name='homepage']
  31. comments/
  32. <slug>
  33. <path>/<slug>/
  34. ^media\/(?P<path>.*)$
  35. ^static\/(?P<path>.*)$

The current path, photos/galleries/house5, didn't match any of these.

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.