summaryrefslogtreecommitdiff
path: root/app/gtd/models.py
diff options
context:
space:
mode:
authorluxagraf <sng@luxagraf.net>2023-11-17 16:51:54 -0500
committerluxagraf <sng@luxagraf.net>2023-11-17 16:51:54 -0500
commitcb738fd973664b1458a6aa343be06cee57eb4c5e (patch)
tree763d022e0fe79ef7d4f2cd096e45a560ceb8d312 /app/gtd/models.py
parent6b1ae214361f533e53d8993a530e5d2b17c4f4e9 (diff)
gtd: decided against integrating wired
Diffstat (limited to 'app/gtd/models.py')
-rw-r--r--app/gtd/models.py38
1 files changed, 8 insertions, 30 deletions
diff --git a/app/gtd/models.py b/app/gtd/models.py
index 22af090..28649c6 100644
--- a/app/gtd/models.py
+++ b/app/gtd/models.py
@@ -43,11 +43,15 @@ class GTDOutcome(models.Model):
class GTDProject(models.Model):
+ WIRED = 0
+ LBH = 1
+ LXF = 2
+ PERSONAL = 3
PROJECT_TYPE = (
- (0, 'wired'),
- (1, 'lbh'),
- (2, 'personal'),
- (3, 'lxf'),
+ (WIRED, 'wired'),
+ (LBH, 'lbh'),
+ (LXF, 'lxf'),
+ (PERSONAL, 'personal'),
)
title = models.CharField(max_length=200)
short_title = models.CharField(max_length=200, blank=True, null=True)
@@ -116,32 +120,6 @@ class GTDNote(models.Model):
(COMPLETED, 'Completed'),
]
status = models.SmallIntegerField(choices=STATUS, default=OPEN)
- CALLIN = 0
- ASKEDFOR = 1
- COMING = 2
- TESTING = 3
- DONE = 4
- LIVE = 5
- WORK_STATUS = (
- (CALLIN, 'Call In'),
- (ASKEDFOR, 'Asked For'),
- (COMING, 'Coming'),
- (TESTING, 'Testing'),
- (DONE, 'Done'),
- (LIVE, 'Live'),
- )
- work_status = models.SmallIntegerField(choices=WORK_STATUS, default=CALLIN)
- NONE = 0
- GUIDE = 1
- REVIEW = 2
- RAVE = 3
- WORK_PLAN = (
- (GUIDE, 'For Guide'),
- (REVIEW, 'Review'),
- (RAVE, 'Rave/Rant'),
- (NONE, 'No Plan'),
- )
- work_plan = models.IntegerField(choices=WORK_PLAN, default=1)
class Meta:
ordering = ('-date_created',)