summaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorPhilip Sargent <philip.sargent@gmail.com>2023-02-02 16:15:13 +0000
committerPhilip Sargent <philip.sargent@gmail.com>2023-02-02 16:15:13 +0000
commit25e00e02b76aa90fdcf6f41be56898dbe8008c9e (patch)
treeb77e75e7eb96f10f04625e0756e24a13da6ea59e /core
parent13f0c6f9886e121be2dc94607b67b60d5aae1d68 (diff)
downloadtroggle-25e00e02b76aa90fdcf6f41be56898dbe8008c9e.tar.gz
troggle-25e00e02b76aa90fdcf6f41be56898dbe8008c9e.tar.bz2
troggle-25e00e02b76aa90fdcf6f41be56898dbe8008c9e.zip
Complete set of todo strings on webpage
Diffstat (limited to 'core')
-rw-r--r--core/views/other.py27
1 files changed, 19 insertions, 8 deletions
diff --git a/core/views/other.py b/core/views/other.py
index 5552f71..df347ea 100644
--- a/core/views/other.py
+++ b/core/views/other.py
@@ -41,33 +41,44 @@ def todos(request, module):
"""produces todo text from module
We could automate this to find all those strings automatically
"""
+ from troggle.core.TESTS.tests import todo as tests
from troggle.core.forms import todo as forms
from troggle.core.middleware import todo as middleware
from troggle.core.models.caves import todo as modelcaves
- from troggle.core.TESTS.tests import todo as tests
+ from troggle.core.models.logbooks import todo as modellogbooks
from troggle.core.views.caves import todo as viewcaves
from troggle.core.views.drawings import todo as viewdrawings
from troggle.core.views.logbooks import todo as viewlogbooks
+ from troggle.core.views.other import todo as viewother
from troggle.core.views.survex import todo as viewsurvex
+ from troggle.core.views.uploads import todo as viewuploads
+ from troggle.core.views.wallets_edit import todo as viewwallets_edit
from troggle.parsers.caves import todo as parserscaves
from troggle.parsers.drawings import todo as parsersdrawings
+ from troggle.parsers.locations import todo as parserslocations
from troggle.parsers.logbooks import todo as parserslogbooks
from troggle.parsers.survex import todo as parserssurvex
+ from troggle.urls import todo as todourls
tododict = {
- "views/other": todo,
"tests": tests,
- "views/logbooks": viewlogbooks,
- "views/survex": viewsurvex,
+ "forms": forms,
+ "middleware": middleware,
+ "models/caves": modelcaves,
+ "models/logbooks": modellogbooks,
"views/caves": viewcaves,
"views/drawings": viewdrawings,
+ "views/logbooks": viewlogbooks,
+ "views/other": todo,
+ "views/survex": viewsurvex,
+ "views/uploads": viewuploads,
+ "views/wallets_edit": viewwallets_edit,
"parsers/caves": parserscaves,
- "parsers/logbooks": parserslogbooks,
"parsers/drawings": parsersdrawings,
+ "parsers/locations": parserslocations,
+ "parsers/logbooks": parserslogbooks,
"parsers/survex": parserssurvex,
- "core/models/caves": modelcaves,
- "core/middleware": middleware,
- "core/forms": forms,
+ "urls": todourls,
}
return render(request, "core/todos.html", {"tododict": tododict})