﻿id	summary	reporter	owner	description	type	status	component	version	severity	resolution	keywords	cc	stage	has_patch	needs_docs	needs_tests	needs_better_patch	easy	ui_ux
17544	PL localflavor field  PLNIPfield allows improper values	Jerzy Ludwichowski	nobody	"One such value is ""1112025170"":

{{{
>>> from django.contrib.localflavor.pl import forms
>>> form = forms.PLNIPField()
>>> bool(form.has_valid_checksum(""1112025170""))
True
}}}

whereas it is not a valid NIP (tax id number) as the checksum for it is equal 10. All such numbers are not valid formally.

Attaching the simplest possible patch.   "	Bug	closed	contrib.localflavor	dev	Normal	invalid			Accepted	0	0	0	0	0	0
