-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[#2975] Add enum for klant backend to ZGW API groups
- Loading branch information
Showing
5 changed files
with
95 additions
and
4 deletions.
There are no files selected for viewing
1 change: 1 addition & 0 deletions
1
src/open_inwoner/openklant/migrations/0019_alter_klantensysteemconfig_primary_backend.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
26 changes: 26 additions & 0 deletions
26
src/open_inwoner/openklant/migrations/0024_alter_klantensysteemconfig_primary_backend.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.18 on 2025-01-29 09:03 | ||
|
||
from django.db import migrations, models | ||
|
||
import open_inwoner.openklant.models | ||
|
||
|
||
class Migration(migrations.Migration): | ||
|
||
dependencies = [ | ||
("openklant", "0023_remove_esuiteklantconfig_register_contact_moment_and_more"), | ||
] | ||
|
||
operations = [ | ||
migrations.AlterField( | ||
model_name="klantensysteemconfig", | ||
name="primary_backend", | ||
field=models.CharField( | ||
choices=[("esuite", "ESUITE"), ("openklant2", "OPENKLANT2")], | ||
help_text="Choose the primary backend for retrieving klanten data. Changes to klanten data will be saved to both backends (if configured).", | ||
max_length=10, | ||
validators=[open_inwoner.openklant.models.validate_backend_choice], | ||
verbose_name="Primary backend", | ||
), | ||
), | ||
] |
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
27 changes: 27 additions & 0 deletions
27
src/open_inwoner/openzaak/migrations/0062_zgwapigroupconfig_klant_backend.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,27 @@ | ||
# Generated by Django 4.2.18 on 2025-01-28 16:08 | ||
|
||
from django.db import migrations, models | ||
|
||
import open_inwoner.openklant.models | ||
|
||
|
||
class Migration(migrations.Migration): | ||
|
||
dependencies = [ | ||
("openzaak", "0061_merge_20250124_1149"), | ||
] | ||
|
||
operations = [ | ||
migrations.AddField( | ||
model_name="zgwapigroupconfig", | ||
name="klant_backend", | ||
field=models.CharField( | ||
choices=[("esuite", "ESUITE"), ("openklant2", "OPENKLANT2")], | ||
default="esuite", | ||
help_text="Choose the API backend for retrieving klanten data.", | ||
max_length=10, | ||
validators=[open_inwoner.openklant.models.validate_backend_choice], | ||
verbose_name="Klant API backend", | ||
), | ||
), | ||
] |
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