summaryrefslogtreecommitdiffstats
path: root/core/middleware.py
diff options
context:
space:
mode:
Diffstat (limited to 'core/middleware.py')
-rw-r--r--core/middleware.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/core/middleware.py b/core/middleware.py
index 2b280a1..fe68fb2 100644
--- a/core/middleware.py
+++ b/core/middleware.py
@@ -36,6 +36,12 @@ class TroggleAppendSlashMiddleware(MiddlewareMixin):
do NOT include
troggle.core.middleware.TroggleAppendSlashMiddleware
in settings.py
+
+ FURTHER WARNING
+ If playing about with this, the 301 redirects that it creates will be cached INDEFINITELY by any browser you
+ used to test it, e.g. /css/main.css with be permanetly redirected to /css/main2.css/ with dreadful
+ consequences, similarly for any images visited. You have to go into your browser settings and delete all cached
+ files to recover from this.
"""
def process_request(self, request):