-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Replacing auto_now_add with default, Census/GSA with CENSUS/GSAFAC * support model updates * Updated file per MJ * Recreate migrations * Migrations for model change * Using timezone.now * Formatted with black * Tested GSAFAC assignments * Updated default for CognizantBaseline * Updated migrations * Changes requested in PR review
- Loading branch information
Showing
4 changed files
with
48 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
29 changes: 29 additions & 0 deletions
29
backend/support/migrations/0004_alter_cognizantbaseline_date_assigned_and_more.py
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,29 @@ | ||
# Generated by Django 4.2.5 on 2023-10-10 21:23 | ||
|
||
from django.db import migrations, models | ||
import django.utils.timezone | ||
|
||
|
||
class Migration(migrations.Migration): | ||
dependencies = [ | ||
("support", "0003_alter_cognizantassignment_report_id"), | ||
] | ||
|
||
operations = [ | ||
migrations.AlterField( | ||
model_name="cognizantbaseline", | ||
name="date_assigned", | ||
field=models.DateTimeField( | ||
default=django.utils.timezone.now, | ||
null=True, | ||
verbose_name="Date Assigned", | ||
), | ||
), | ||
migrations.AlterField( | ||
model_name="cognizantbaseline", | ||
name="source", | ||
field=models.CharField( | ||
default="GSAFAC", max_length=10, verbose_name="Source" | ||
), | ||
), | ||
] |
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