Skip to content

Commit

Permalink
Added note about the need of a data migration
Browse files Browse the repository at this point in the history
  • Loading branch information
jieter committed Sep 14, 2017
1 parent 62e38f7 commit 5e296df
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions localflavor/nl/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -126,6 +126,9 @@ class NLBankAccountNumberField(models.CharField):
.. deprecated:: 1.6
Use `localflavor.generic.models.IBANField` with included_countries=('nl') option instead.
Note that a data migration is required to move the data from this field to a new IBANField:
it needs to calculate check digits, add the bank identifier and zero-pad the bank number
into a proper IBAN.
"""

def __init__(self, *args, **kwargs):
Expand Down

0 comments on commit 5e296df

Please sign in to comment.