Page not found (404)

No Document matches the given query.
Request Method: GET
Request URL: https://powerful-ravine-11087.herokuapp.com/documents/3/State_of_the_Plants.web.pdf
Raised by: wagtail.documents.views.serve.serve

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

  1. django-admin/
  2. admin/
  3. documents/ ^(\d+)/(.*)$ [name='wagtaildocs_serve']

The current path, documents/3/State_of_the_Plants.web.pdf, 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.