Opened 17 years ago

Closed 17 years ago

#3879 closed (fixed)

Add Norwegian localflavor

Reported by: thebjorn <bp@…> Owned by: Adrian Holovaty
Component: Contrib apps Version: dev
Severity: Keywords: localflavor l10n no
Cc: Triage Stage: Ready for checkin
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

Patch to add no module to django.contrib.localflavor: NOZipCodeField, NOMunicipalitySelect, and NOSocialSecurityNumber.

Attachments (2)

no_localflavor.diff (4.0 KB ) - added by thebjorn <bp@…> 17 years ago.
newrules.diff (792 bytes ) - added by thebjorn <bp@…> 17 years ago.
updated rules for assigning numbers

Download all attachments as: .zip

Change History (7)

by thebjorn <bp@…>, 17 years ago

Attachment: no_localflavor.diff added

comment:1 by Simon G. <dev@…>, 17 years ago

Triage Stage: UnreviewedReady for checkin

comment:2 by Malcolm Tredinnick, 17 years ago

I can't find any list of sample Norwegian social security numbers on the net, so I'll give this a pass on testing. If somebody does find a sample set (not including real numbers!) feel free to reopen and post some tests.

comment:3 by Malcolm Tredinnick, 17 years ago

Resolution: fixed
Status: newclosed

(In [4875]) Fixed #3879 -- Added Norwegian localflavor. Thanks bp@…

by thebjorn <bp@…>, 17 years ago

Attachment: newrules.diff added

updated rules for assigning numbers

comment:4 by thebjorn <bp@…>, 17 years ago

Resolution: fixed
Status: closedreopened

There are new (2005?) rules that allow for more than 500 individuals per date born in the range 1940-2000 based on the need to assign social security numbers (personnummer) to new immigrants. I've added a patch that allows the extra range of numbers.

comment:5 by Malcolm Tredinnick, 17 years ago

Resolution: fixed
Status: reopenedclosed

(In [4888]) Fixed #3879 -- Updated Norwegian social security validation rules. Thanks,
bp@….

Note: See TracTickets for help on using tickets.
Back to Top