diff options
author | Philip Sargent <philip.sargent@gmail.com> | 2024-12-27 22:57:34 +0000 |
---|---|---|
committer | Philip Sargent <philip.sargent@gmail.com> | 2024-12-27 22:57:34 +0000 |
commit | 8dbad16ece1ebbe4f65b56bbc26c7be526bbe328 (patch) | |
tree | 29632ed7327fa35d385e37773d8b152541ac746b /core/views/expo.py | |
parent | 60d24dc48ed7a32752b2292e4e8670903fad8638 (diff) | |
download | troggle-8dbad16ece1ebbe4f65b56bbc26c7be526bbe328.tar.gz troggle-8dbad16ece1ebbe4f65b56bbc26c7be526bbe328.tar.bz2 troggle-8dbad16ece1ebbe4f65b56bbc26c7be526bbe328.zip |
Editor field & cookie working for survex online edits
Diffstat (limited to 'core/views/expo.py')
-rw-r--r-- | core/views/expo.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/core/views/expo.py b/core/views/expo.py index 3fd6ddc..3cba48b 100644 --- a/core/views/expo.py +++ b/core/views/expo.py @@ -14,7 +14,7 @@ from django.views.decorators.csrf import ensure_csrf_cookie import troggle.core.views.caves import troggle.settings as settings from troggle.core.models.caves import Cave -from troggle.core.utils import WriteAndCommitError, current_expo, git_string, write_and_commit +from troggle.core.utils import COOKIE_MAX_AGE, WriteAndCommitError, current_expo, git_string, write_and_commit from troggle.core.views.editor_helpers import HTMLarea from troggle.core.views.uploads import edittxtpage @@ -26,7 +26,7 @@ Then it was incorporated into troggle directly, rather than being an unnecessary This is a succession of hacks and needs to be redisgned and refactored. """ -COOKIE_MAX_AGE = 12*60*60 # seconds + default_head = """<head> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> <title>CUCC Expedition - index</title> |