Skip to content

Commit

Permalink
Merge branch 'develop' into 198870_Handle_FSP_Auth_code_aka_MTCN_for_WU
Browse files Browse the repository at this point in the history
  • Loading branch information
MarekBiczysko authored May 16, 2024
2 parents bfbae23 + dccb229 commit f73f9a2
Show file tree
Hide file tree
Showing 3 changed files with 45 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
[
{
"model": "core.businessareapartnerthrough",
"pk": "3bed7924-1255-4da7-8bcc-2e7a821b4ec9",
"fields": {
"created_at": "2024-05-15T20:46:38.430Z",
"updated_at": "2024-05-15T20:46:38.430Z",
"business_area": "c259b1a0-ae3a-494e-b343-f7c8eb060c68",
"partner": 3,
"roles": [
"e9e8c91a-c711-45b7-be8c-501c14d46330"
]
}
}
]
3 changes: 3 additions & 0 deletions backend/hct_mis_api/apps/core/management/commands/initdemo.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@ def handle(self, *args: Any, **options: Any) -> None:
call_command("loaddata", f"{settings.PROJECT_ROOT}/apps/geo/fixtures/data.json")
call_command("loaddata", f"{settings.PROJECT_ROOT}/apps/core/fixtures/data.json")
call_command("loaddata", f"{settings.PROJECT_ROOT}/apps/account/fixtures/data.json")
call_command("loaddata", f"{settings.PROJECT_ROOT}/apps/core/fixtures/businessareapartnerthrough.json")
call_command("loaddata", f"{settings.PROJECT_ROOT}/apps/program/fixtures/data.json")
call_command("loaddata", f"{settings.PROJECT_ROOT}/apps/registration_data/fixtures/data.json")
call_command("loaddata", f"{settings.PROJECT_ROOT}/apps/household/fixtures/documenttype.json")
Expand All @@ -87,6 +88,8 @@ def handle(self, *args: Any, **options: Any) -> None:
generate_reconciled_payment_plan()
update_fsps()

call_command("loaddata", f"{settings.PROJECT_ROOT}/apps/program/fixtures/programpartnerthrough.json")

email_list = [
"[email protected]",
"[email protected]",
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
[
{
"model": "program.programpartnerthrough",
"pk": "93687a51-1515-4c7b-a66b-215703c8ffd8",
"fields": {
"created_at": "2024-05-15T20:46:38.467Z",
"updated_at": "2024-05-15T20:46:38.467Z",
"program": "939ff91b-7f89-4e3c-9519-26ed62f51718",
"partner": 3,
"full_area_access": false,
"areas": [
"18ff6f29-cd4d-4e80-8e80-13494b32ee53"
]
}
},
{
"model": "program.programpartnerthrough",
"pk": "4478b6c7-8bba-470e-abca-e0c095fd5173",
"fields": {
"created_at": "2024-05-15T20:46:38.445Z",
"updated_at": "2024-05-15T20:46:38.445Z",
"program": "00000000-0000-0000-0000-faceb00c0000",
"partner": 3,
"full_area_access": true
}
}
]

0 comments on commit f73f9a2

Please sign in to comment.