-
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.
REV-3765 | make certain fields optional, check api creates record on …
…hit, check api is admin only (#14) * feat: prepare sanctions API and model prepare sanctions API and model for use * fix: user the lms_user_id provided in the payload
- Loading branch information
1 parent
34b2ad0
commit 5fba044
Showing
5 changed files
with
178 additions
and
12 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
61 changes: 61 additions & 0 deletions
61
sanctions/apps/sanctions/migrations/0003_auto_20231109_2121.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,61 @@ | ||
# Generated by Django 3.2.22 on 2023-11-09 21:21 | ||
|
||
from django.db import migrations, models | ||
|
||
|
||
class Migration(migrations.Migration): | ||
|
||
dependencies = [ | ||
('sanctions', '0002_rename_fallback_models'), | ||
] | ||
|
||
operations = [ | ||
migrations.RemoveField( | ||
model_name='historicalsanctionscheckfailure', | ||
name='sdn_check_response', | ||
), | ||
migrations.RemoveField( | ||
model_name='sanctionscheckfailure', | ||
name='sdn_check_response', | ||
), | ||
migrations.AddField( | ||
model_name='historicalsanctionscheckfailure', | ||
name='sanctions_response', | ||
field=models.JSONField(null=True), | ||
), | ||
migrations.AddField( | ||
model_name='sanctionscheckfailure', | ||
name='sanctions_response', | ||
field=models.JSONField(null=True), | ||
), | ||
migrations.AlterField( | ||
model_name='historicalsanctionscheckfailure', | ||
name='metadata', | ||
field=models.JSONField(null=True), | ||
), | ||
migrations.AlterField( | ||
model_name='historicalsanctionscheckfailure', | ||
name='system_identifier', | ||
field=models.CharField(max_length=255, null=True), | ||
), | ||
migrations.AlterField( | ||
model_name='historicalsanctionscheckfailure', | ||
name='username', | ||
field=models.CharField(max_length=255, null=True), | ||
), | ||
migrations.AlterField( | ||
model_name='sanctionscheckfailure', | ||
name='metadata', | ||
field=models.JSONField(null=True), | ||
), | ||
migrations.AlterField( | ||
model_name='sanctionscheckfailure', | ||
name='system_identifier', | ||
field=models.CharField(max_length=255, null=True), | ||
), | ||
migrations.AlterField( | ||
model_name='sanctionscheckfailure', | ||
name='username', | ||
field=models.CharField(max_length=255, null=True), | ||
), | ||
] |
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