Skip to content

Commit 14bd066

Browse files
fix ! ChoiceFieldWithEmptyDisplay not found in registry during sync flex fields (#266)
1 parent 9f276bc commit 14bd066

File tree

1 file changed

+2
-0
lines changed
  • src/country_workspace/contrib/hope

1 file changed

+2
-0
lines changed

src/country_workspace/contrib/hope/apps.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
from .lookups import FinancialInstitutionChoice
55
from .phone_numbers import PhoneNumberField
66
from .beneficiary_reference import BeneficiaryReferenceModelChoiceField
7+
from .required_choice_field import ChoiceFieldWithEmptyDisplay
78

89

910
class Config(AppConfig):
@@ -25,6 +26,7 @@ def ready(self) -> None:
2526
field_registry.register(FinancialInstitutionChoice)
2627
field_registry.register(PhoneNumberField)
2728
field_registry.register(BeneficiaryReferenceModelChoiceField)
29+
field_registry.register(ChoiceFieldWithEmptyDisplay)
2830

2931
from country_workspace.contrib.hope.validators import FullHouseholdValidator
3032
from country_workspace.validators.registry import beneficiary_validator_registry

0 commit comments

Comments
 (0)