-
Notifications
You must be signed in to change notification settings - Fork 71
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor: [ACI-997] refactor for quality checks pass
- Loading branch information
Andrii
committed
May 31, 2024
1 parent
61c8082
commit 5e0ae15
Showing
23 changed files
with
232 additions
and
226 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
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
64 changes: 64 additions & 0 deletions
64
credentials/apps/badges/migrations/0022_rename_group_fulfillment_blend_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,64 @@ | ||
# Generated by Django 4.1 on 2024-05-31 13:46 | ||
|
||
from django.db import migrations, models | ||
import model_utils.fields | ||
|
||
|
||
class Migration(migrations.Migration): | ||
|
||
dependencies = [ | ||
("badges", "0021_alter_credlyorganization_api_key"), | ||
] | ||
|
||
operations = [ | ||
migrations.RenameField( | ||
model_name="fulfillment", | ||
old_name="group", | ||
new_name="blend", | ||
), | ||
migrations.RemoveField( | ||
model_name="badgerequirement", | ||
name="group", | ||
), | ||
migrations.AddField( | ||
model_name="badgerequirement", | ||
name="blend", | ||
field=models.CharField( | ||
blank=True, | ||
help_text="Optional. Group requirements together using the same Group ID for interchangeable (OR processing logic).", | ||
max_length=255, | ||
null=True, | ||
), | ||
), | ||
migrations.AlterField( | ||
model_name="badgetemplate", | ||
name="state", | ||
field=model_utils.fields.StatusField( | ||
choices=[("draft", "draft"), ("active", "active"), ("archived", "archived")], | ||
default="draft", | ||
help_text="Credly badge template state (auto-managed).", | ||
max_length=100, | ||
no_check_for_status=True, | ||
), | ||
), | ||
migrations.AlterField( | ||
model_name="credlybadge", | ||
name="state", | ||
field=model_utils.fields.StatusField( | ||
choices=[ | ||
("created", "created"), | ||
("no_response", "no_response"), | ||
("error", "error"), | ||
("pending", "pending"), | ||
("accepted", "accepted"), | ||
("rejected", "rejected"), | ||
("revoked", "revoked"), | ||
("expired", "expired"), | ||
], | ||
default="created", | ||
help_text="Credly badge issuing state", | ||
max_length=100, | ||
no_check_for_status=True, | ||
), | ||
), | ||
] |
Oops, something went wrong.