aboutsummaryrefslogtreecommitdiffstats
path: root/ctrack/caf
diff options
context:
space:
mode:
authorMatthew Lemon <lemon@matthewlemon.com>2020-10-15 14:10:30 +0100
committerMatthew Lemon <lemon@matthewlemon.com>2020-10-15 14:10:30 +0100
commit7a81eec537efa36ba8183da47e43c3f3988e5469 (patch)
treed03bd1821fa192367b61866d81c9fbadeff02d17 /ctrack/caf
parent04326801570d17918a48a9a64b164ea9464f3562 (diff)
isorting stuff
Diffstat (limited to 'ctrack/caf')
-rw-r--r--ctrack/caf/managers.py3
-rw-r--r--ctrack/caf/models.py2
-rw-r--r--ctrack/caf/urls.py8
-rw-r--r--ctrack/caf/views.py5
4 files changed, 7 insertions, 11 deletions
diff --git a/ctrack/caf/managers.py b/ctrack/caf/managers.py
index 4d8c134..ce36534 100644
--- a/ctrack/caf/managers.py
+++ b/ctrack/caf/managers.py
@@ -1,5 +1,4 @@
-from django.db import connection
-from django.db import models
+from django.db import connection, models
import ctrack.caf.models as caf_models # to deal with circular import
import ctrack.organisations.models as org_models
diff --git a/ctrack/caf/models.py b/ctrack/caf/models.py
index a2015eb..6957448 100644
--- a/ctrack/caf/models.py
+++ b/ctrack/caf/models.py
@@ -1,8 +1,8 @@
from django.db import models
+from django.urls.base import reverse
from ctrack.caf.managers import ApplicableSystemManager
from ctrack.organisations.models import Organisation, Person
-from django.urls.base import reverse
# from ctrack.register.models import EngagementEvent
diff --git a/ctrack/caf/urls.py b/ctrack/caf/urls.py
index 557c2f0..ddb83ed 100644
--- a/ctrack/caf/urls.py
+++ b/ctrack/caf/urls.py
@@ -2,12 +2,12 @@ from django.urls import path
from django.views.decorators.cache import cache_page
from ctrack.caf.views import (
- ListCAF,
- ListApplicableSystem,
- caf_detail_view,
- ApplicableSystemDetail,
ApplicableSystemCreateFromOrg,
+ ApplicableSystemDetail,
+ ListApplicableSystem,
+ ListCAF,
applicable_system_create_from_caf,
+ caf_detail_view,
)
app_name = "caf"
diff --git a/ctrack/caf/views.py b/ctrack/caf/views.py
index 6cf3945..f748b49 100644
--- a/ctrack/caf/views.py
+++ b/ctrack/caf/views.py
@@ -6,10 +6,7 @@ from django.urls import reverse, reverse_lazy
from django.views.generic import DetailView, FormView, ListView
from ctrack.assessments.models import CAFAssessmentOutcomeScore
-from ctrack.caf.forms import (
- ApplicableSystemCreateFromCafForm,
- ApplicableSystemCreateFromOrgForm,
-)
+from ctrack.caf.forms import ApplicableSystemCreateFromCafForm, ApplicableSystemCreateFromOrgForm
from ctrack.caf.models import CAF, ApplicableSystem
from ctrack.organisations.models import Organisation