forked from openedx/credentials
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: [ACI-249] clean up not used imports (#143)
* chore: [ACI-249] clean up not used imports * chore: add TODO items for utils * refactor: add related name for fulfillments * refactor: make progress.complete a property * refactor: document signal handlers * refactor: add external UUID for Credly badge issuing tracking * refactor: avoid confusion between Credential and User Credential * chore: disable penalties until released * refactor: remove obsolete relation * fix: badge data serialization issue with UUID
- Loading branch information
1 parent
310d341
commit 770e9bb
Showing
16 changed files
with
271 additions
and
86 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
19 changes: 19 additions & 0 deletions
19
credentials/apps/badges/migrations/0014_alter_fulfillment_requirement.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,19 @@ | ||
# Generated by Django 3.2.20 on 2024-04-16 11:56 | ||
|
||
from django.db import migrations, models | ||
import django.db.models.deletion | ||
|
||
|
||
class Migration(migrations.Migration): | ||
|
||
dependencies = [ | ||
('badges', '0013_alter_datarule_requirement'), | ||
] | ||
|
||
operations = [ | ||
migrations.AlterField( | ||
model_name='fulfillment', | ||
name='requirement', | ||
field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.SET_NULL, related_name='fulfillments', to='badges.badgerequirement'), | ||
), | ||
] |
18 changes: 18 additions & 0 deletions
18
credentials/apps/badges/migrations/0015_credlybadge_external_uuid.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,18 @@ | ||
# Generated by Django 3.2.20 on 2024-04-16 15:46 | ||
|
||
from django.db import migrations, models | ||
|
||
|
||
class Migration(migrations.Migration): | ||
|
||
dependencies = [ | ||
('badges', '0014_alter_fulfillment_requirement'), | ||
] | ||
|
||
operations = [ | ||
migrations.AddField( | ||
model_name='credlybadge', | ||
name='external_uuid', | ||
field=models.UUIDField(blank=True, help_text='Credly service badge identifier', null=True, unique=True), | ||
), | ||
] |
18 changes: 18 additions & 0 deletions
18
credentials/apps/badges/migrations/0016_rename_credential_badgeprogress_user_credential.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,18 @@ | ||
# Generated by Django 3.2.20 on 2024-04-16 16:01 | ||
|
||
from django.db import migrations | ||
|
||
|
||
class Migration(migrations.Migration): | ||
|
||
dependencies = [ | ||
('badges', '0015_credlybadge_external_uuid'), | ||
] | ||
|
||
operations = [ | ||
migrations.RenameField( | ||
model_name='badgeprogress', | ||
old_name='credential', | ||
new_name='user_credential', | ||
), | ||
] |
17 changes: 17 additions & 0 deletions
17
credentials/apps/badges/migrations/0017_remove_badgeprogress_user_credential.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,17 @@ | ||
# Generated by Django 3.2.20 on 2024-04-16 17:34 | ||
|
||
from django.db import migrations | ||
|
||
|
||
class Migration(migrations.Migration): | ||
|
||
dependencies = [ | ||
('badges', '0016_rename_credential_badgeprogress_user_credential'), | ||
] | ||
|
||
operations = [ | ||
migrations.RemoveField( | ||
model_name='badgeprogress', | ||
name='user_credential', | ||
), | ||
] |
Oops, something went wrong.