python-codicefiscale permit to check if Codice Fiscale is compatible with personal data
This can be done inside the view or as a Member validator. The first one IMHO is the more feasible way to use it.
Implementation could be done as a class method check_cf_data
NOTE: Only problem with this is that python-codicefiscale require birth city written in a very specific way, but admits variations. So we can check if data inserted by user is compatible with a variation and substitute it with the library's chosen one.
python-codicefiscale
permit to check if Codice Fiscale is compatible with personal dataThis can be done inside the view or as a Member validator. The first one IMHO is the more feasible way to use it. Implementation could be done as a class method
check_cf_data
NOTE: Only problem with this is that
python-codicefiscale
require birth city written in a very specific way, but admits variations. So we can check if data inserted by user is compatible with a variation and substitute it with the library's chosen one.