﻿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
5475	[patch] Luhn algorithm implementation should be added to Django	Ben Slavin	Ben Slavin	"The Luhn algorithm is used for validating credit cards and numerous national ID numbers.  Django should have a built-in implementation to enable localflavors to add functionality.

Factored out of #3961 to separate additions.  Slight implementation details have been changed.

Re: discussion there, the Luhn algorithm works from right to left, so strings are used for processing.  Quick (non-scientific) benchmarking shows this string-based method to be faster than other Python implementations available online.

Note: filed under 'internationalization', but arguments could be made for other categorizations."		closed	Internationalization	dev		fixed	sprintsept14		Ready for checkin	1	0	0	0	0	0
