diff options
author | luxagraf <sng@luxagraf.net> | 2023-11-17 19:12:21 -0500 |
---|---|---|
committer | luxagraf <sng@luxagraf.net> | 2023-11-17 19:12:21 -0500 |
commit | 53bdf597c1d15ce7ae91f9d8e5b9aa0687e6163f (patch) | |
tree | c10053804f47ed09d29fb18d802cb658bc4b66ce | |
parent | 6a29eafe6fc9762e899aaf538f97cdb2fe6b02d3 (diff) |
gtd: added bus project type
-rw-r--r-- | app/gtd/migrations/0022_alter_gtdproject_project_type.py | 18 | ||||
-rw-r--r-- | app/gtd/models.py | 2 |
2 files changed, 20 insertions, 0 deletions
diff --git a/app/gtd/migrations/0022_alter_gtdproject_project_type.py b/app/gtd/migrations/0022_alter_gtdproject_project_type.py new file mode 100644 index 0000000..9bcbd11 --- /dev/null +++ b/app/gtd/migrations/0022_alter_gtdproject_project_type.py @@ -0,0 +1,18 @@ +# Generated by Django 4.2.7 on 2023-11-17 19:11 + +from django.db import migrations, models + + +class Migration(migrations.Migration): + + dependencies = [ + ('gtd', '0021_alter_gtdnote_note_type'), + ] + + operations = [ + migrations.AlterField( + model_name='gtdproject', + name='project_type', + field=models.IntegerField(choices=[(0, 'wired'), (1, 'lbh'), (2, 'lxf'), (3, 'personal'), (3, 'bus')], default=2), + ), + ] diff --git a/app/gtd/models.py b/app/gtd/models.py index 3352394..38b4694 100644 --- a/app/gtd/models.py +++ b/app/gtd/models.py @@ -42,11 +42,13 @@ class GTDProject(models.Model): LBH = 1 LXF = 2 PERSONAL = 3 + BUS = 3 PROJECT_TYPE = ( (WIRED, 'wired'), (LBH, 'lbh'), (LXF, 'lxf'), (PERSONAL, 'personal'), + (BUS, 'bus'), ) title = models.CharField(max_length=200) short_title = models.CharField(max_length=200, blank=True, null=True) |