diff options
author | Philip Sargent <philip.sargent@gmail.com> | 2024-12-15 18:54:47 +0000 |
---|---|---|
committer | Philip Sargent <philip.sargent@gmail.com> | 2024-12-15 18:54:47 +0000 |
commit | 30760654b7a3d7a394028fdf357d6f257def1fd5 (patch) | |
tree | 0dc128d9896b1f113e2b11c8936ff88531c9b762 /core/views/other.py | |
parent | eb74940ca81a6e900dec2b7c8df00245c6bb9a71 (diff) | |
download | troggle-30760654b7a3d7a394028fdf357d6f257def1fd5.tar.gz troggle-30760654b7a3d7a394028fdf357d6f257def1fd5.tar.bz2 troggle-30760654b7a3d7a394028fdf357d6f257def1fd5.zip |
import order fixed by ruff
Diffstat (limited to 'core/views/other.py')
-rw-r--r-- | core/views/other.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/core/views/other.py b/core/views/other.py index ed03516..7c4c232 100644 --- a/core/views/other.py +++ b/core/views/other.py @@ -11,6 +11,7 @@ from troggle.core.models.logbooks import LogbookEntry, writelogbook # , PersonL # from databaseReset import reinit_db # don't do this. databaseRest runs code *at import time* from troggle.core.models.troggle import Expedition +from troggle.core.utils import current_expo from troggle.parsers.imports import ( import_caves, import_drawingsfiles, @@ -20,7 +21,7 @@ from troggle.parsers.imports import ( import_survex, import_surveyscans, ) -from troggle.core.utils import current_expo + from .auth import login_required_if_public """Utility functions and code to serve the control panel and individual user's @@ -37,11 +38,11 @@ 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.models.logbooks import todo as modellogbooks + from troggle.core.TESTS.tests import todo as tests 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 |