mirror of
https://expo.survex.com/repositories/troggle/.git
synced 2025-12-15 03:27:26 +00:00
tidy trailing slash everywhere & fix tests
This commit is contained in:
@@ -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):
|
||||
|
||||
Reference in New Issue
Block a user