CZBirthNumberField expects two arguments to clean()
|Reported by:||Idan Gazit||Owned by:||Idan Gazit|
|Has patch:||no||Needs documentation:||no|
|Needs tests:||no||Patch needs improvement:||no|
See cz/forms.py, line 53. The field's clean() takes two arguments, but clean() should only take one (value).
From looking at the source, it seems that the conditional block on L72 can simply be excised along with the invalid_gender error message. Without explicit knowledge of the associated gender, it looks like the additional gender-based validation logic isn't possible.