-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: add title,description and attachment fields to weekly program up…
…dates
- Loading branch information
Showing
8 changed files
with
91 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
# Generated by Django 3.2.7 on 2021-10-06 07:42 | ||
|
||
from django.db import migrations, models | ||
import fahari.common.models.utils | ||
|
||
|
||
class Migration(migrations.Migration): | ||
|
||
dependencies = [ | ||
('ops', '0028_auto_20210922_1534'), | ||
] | ||
|
||
operations = [ | ||
migrations.AddField( | ||
model_name='weeklyprogramupdate', | ||
name='attachment', | ||
field=models.FileField(blank=True, null=True, upload_to=fahari.common.models.utils.get_directory, verbose_name='Attach File or Photo'), | ||
), | ||
migrations.AddField( | ||
model_name='weeklyprogramupdate', | ||
name='description', | ||
field=models.TextField(default='-', verbose_name='Task description'), | ||
), | ||
migrations.AddField( | ||
model_name='weeklyprogramupdate', | ||
name='title', | ||
field=models.CharField(default='Program title', max_length=200, verbose_name='Task title'), | ||
), | ||
migrations.AlterField( | ||
model_name='weeklyprogramupdate', | ||
name='operation_area', | ||
field=models.CharField(choices=[('admin', 'Administration'), ('finance', 'Finance'), ('awarding', 'Awarding'), ('subgranting', 'Subgranting'), ('sii', 'Strategic Information System'), ('program', 'Program')], default='program', help_text='Task Operation Area', max_length=20), | ||
), | ||
migrations.AlterUniqueTogether( | ||
name='weeklyprogramupdate', | ||
unique_together=set(), | ||
), | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
# Generated by Django 3.2.7 on 2021-10-06 08:01 | ||
|
||
from django.db import migrations, models | ||
|
||
|
||
class Migration(migrations.Migration): | ||
|
||
dependencies = [ | ||
('ops', '0029_auto_20211006_1042'), | ||
] | ||
|
||
operations = [ | ||
migrations.AlterField( | ||
model_name='weeklyprogramupdate', | ||
name='operation_area', | ||
field=models.CharField(choices=[('admin', 'Administration'), ('finance', 'Finance'), ('awarding', 'Awarding'), ('subgranting', 'Subgranting'), ('sii', 'Strategic Information System'), ('program', 'Program')], default='program', help_text='Task Area of Operation', max_length=20), | ||
), | ||
migrations.AlterField( | ||
model_name='weeklyprogramupdate', | ||
name='status', | ||
field=models.CharField(choices=[('in_progress', 'In progress'), ('complete', 'Complete')], default='in_progress', help_text='Task status', max_length=20), | ||
), | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters