404 Error on Multiple Links & Debug Active in Production
ilyagerner opened this issue · 0 comments
There are five 404 errors on the current ANCFinder build:
http://ancfinder.org/static/ancs.json
http://ancfinder.org/feeds/ancfinder.ics (*)
http://ancfinder.org/feeds/ancfinder.rss (*)
http://ancfinder.org/share (*)
http://ancfinder.org/static/meetings.json
Of these, the 3 asterisked links are the most troubling because they lead to Django's Debug page, which needs to be turned off in production. Strangely, the settings.py file does have a line that is supposed to turn off debug in a production environment, but we're still getting this error.
A related issue is that we have several links hard-coded into the html templates rather than using Django's templating language (which should make link rot less likely).