Ticket #17544: forms.patch

File forms.patch, 417 bytes (added by Jerzy Ludwichowski, 13 years ago)

Patch for django/contrib/localflavor/pl/forms (#17544)

  • forms.py

     
    155155            result += int(number[i]) * multiple_table[i]
    156156
    157157        result %= 11
    158         if result == int(number[-1]):
     158        if result != 10 and result == int(number[-1]):
    159159            return True
    160160        else:
    161161            return False
Back to Top