From 53bdf597c1d15ce7ae91f9d8e5b9aa0687e6163f Mon Sep 17 00:00:00 2001 From: luxagraf Date: Fri, 17 Nov 2023 19:12:21 -0500 Subject: gtd: added bus project type --- .../migrations/0022_alter_gtdproject_project_type.py | 18 ++++++++++++++++++ app/gtd/models.py | 2 ++ 2 files changed, 20 insertions(+) create mode 100644 app/gtd/migrations/0022_alter_gtdproject_project_type.py (limited to 'app/gtd') 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) -- cgit v1.2.3-70-g09d2