aboutsummaryrefslogtreecommitdiffstats
path: root/ctrack/caf
diff options
context:
space:
mode:
authorMatthew Lemon <lemon@matthewlemon.com>2020-02-21 16:00:12 +0000
committerMatthew Lemon <lemon@matthewlemon.com>2020-02-21 16:00:27 +0000
commitabd22b0143661370aa29246d21389d5f0bf7abc3 (patch)
treecad94ede9241b19d8560aec3b7cae4f693272aa8 /ctrack/caf
parent46107b7539211adbe71ab25d319b5c1f744fe4c4 (diff)
added first register models - engagement-related
Diffstat (limited to '')
-rw-r--r--ctrack/caf/admin.py2
-rw-r--r--ctrack/caf/models.py1
2 files changed, 1 insertions, 2 deletions
diff --git a/ctrack/caf/admin.py b/ctrack/caf/admin.py
index c0f416e..e423044 100644
--- a/ctrack/caf/admin.py
+++ b/ctrack/caf/admin.py
@@ -2,8 +2,6 @@ from django.contrib import admin
from .models import CAF, CAFFileStore, DocumentFile, Ranking
-# Register your models here.
-
admin.site.register(CAF)
admin.site.register(CAFFileStore)
admin.site.register(DocumentFile)
diff --git a/ctrack/caf/models.py b/ctrack/caf/models.py
index 6350871..aa70d98 100644
--- a/ctrack/caf/models.py
+++ b/ctrack/caf/models.py
@@ -47,6 +47,7 @@ class DocumentFile(models.Model):
class CAF(models.Model):
owner = models.ForeignKey(Organisation, on_delete=models.CASCADE)
+ # TODO: essential systems need to be tracked as entities
essential_system = models.CharField(max_length=255, blank=True)
triage_ranking = models.ForeignKey(Ranking, on_delete=models.CASCADE)
file = models.ForeignKey(DocumentFile, on_delete=models.CASCADE, blank=True)