-
Notifications
You must be signed in to change notification settings - Fork 109
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(api): return notifications based on scorer id (#634)
* feat(api): return notifications based on scorer id * fix: link text * fix: link text
- Loading branch information
1 parent
0cddc9e
commit eda9c81
Showing
10 changed files
with
351 additions
and
124 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
26 changes: 26 additions & 0 deletions
26
api/passport_admin/migrations/0007_notification_community.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,26 @@ | ||
# Generated by Django 4.2.6 on 2024-07-12 15:55 | ||
|
||
import django.db.models.deletion | ||
from django.db import migrations, models | ||
|
||
import passport_admin.models | ||
|
||
|
||
class Migration(migrations.Migration): | ||
dependencies = [ | ||
("account", "0032_customization_body_display_info_tooltip_and_more"), | ||
("passport_admin", "0006_notification_alter_dismissedbanners_address_and_more"), | ||
] | ||
|
||
operations = [ | ||
migrations.AddField( | ||
model_name="notification", | ||
name="community", | ||
field=models.ForeignKey( | ||
default=passport_admin.models.get_default_ceramic_cache_community, | ||
on_delete=django.db.models.deletion.CASCADE, | ||
related_name="notifications", | ||
to="account.community", | ||
), | ||
), | ||
] |
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
Oops, something went wrong.