diff options
author | Philip Sargent <philip.sargent@gmail.com> | 2023-02-02 21:50:40 +0000 |
---|---|---|
committer | Philip Sargent <philip.sargent@gmail.com> | 2023-02-02 21:50:40 +0000 |
commit | e94a24bbd4c58748e44c2b0461d9a46acccdecd9 (patch) | |
tree | 8b7697b3c235838e0e16033e43e9c4dee0ba249b /core/views/other.py | |
parent | e0a198bac522e138ef46f983b6c9455b17f787ce (diff) | |
download | troggle-e94a24bbd4c58748e44c2b0461d9a46acccdecd9.tar.gz troggle-e94a24bbd4c58748e44c2b0461d9a46acccdecd9.tar.bz2 troggle-e94a24bbd4c58748e44c2b0461d9a46acccdecd9.zip |
to-do lists updates
Diffstat (limited to 'core/views/other.py')
-rw-r--r-- | core/views/other.py | 18 |
1 files changed, 6 insertions, 12 deletions
diff --git a/core/views/other.py b/core/views/other.py index df347ea..8d40079 100644 --- a/core/views/other.py +++ b/core/views/other.py @@ -28,12 +28,8 @@ progress and task list (deprecated as we do not have individual user login). """ todo = """ - -- Use logbookdownloader to convert all older logbooks into the 2005-variant of HTML then we can - get rid of the parsers for older formats. - When we have done all the old logbooks, delete this function and the two templates. - - OR invent a new format, e.g. using <article> and <section>?, which is better! +- [Low priority] Fix Login page so that it produces the frontpage or + redirects to the page which produced the login prompt requirement. """ @@ -175,18 +171,16 @@ def controlpanel(request): def exportlogbook(request, year=None, extension=None): """Constructs, from the database, a complete HTML formatted logbook - for the current year. Formats available are HTML2005 (others old & broken or not written yet) - - There are no images stored in the database, so this is only a tool for a first pass, to be followed by - hand-editing. However links to images work in the HTML text of a logbook entry + for the current year. Formats available are HTML2005. Other formats + have been retired. - NEED TO ADD IN THE MATERIAL WHICH IS NOT IN ANY LBE ! e.g. front matter. + There are no images stored in the database. However links to images work in the HTML text of a logbook entry. This function is the recipient of the POST action os the export form in the control panel """ def lbeKey(lbe): - """This function goes into a lexicogrpahic sort function""" + """This function goes into a lexicographic sort function""" return str(lbe.date) if not request.method == "POST": |