Better FileNotFound in expofiles

This commit is contained in:
Philip Sargent
2021-04-10 15:30:29 +01:00
parent a7e59b2bb0
commit 5d4ad93c51
3 changed files with 42 additions and 19 deletions

View File

@@ -172,6 +172,7 @@ urlpatterns = [
]
# When apache is running these prempt Django so Django never sees them.
# NB apache has its own ideas about mimetypes, so behaviour may not be identical for .xml files by troggle
# NEW apache configurations suggested as of 2 April 2021:
# Alias /site-media/ /home/expo/troggle/media/