Opened 10 years ago

Closed 10 years ago

#3879 closed (fixed)

Add Norwegian localflavor

Reported by: thebjorn <bp@…> Owned by: Adrian Holovaty
Component: Contrib apps Version: master
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: UI/UX:

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@…> 10 years ago.
newrules.diff (792 bytes) - added by thebjorn <bp@…> 10 years ago.
updated rules for assigning numbers

Download all attachments as: .zip

Change History (7)

Changed 10 years ago by thebjorn <bp@…>

Attachment: no_localflavor.diff added

comment:1 Changed 10 years ago by Simon G. <dev@…>

Triage Stage: UnreviewedReady for checkin

comment:2 Changed 10 years ago by Malcolm Tredinnick

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 Changed 10 years ago by Malcolm Tredinnick

Resolution: fixed
Status: newclosed

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

Changed 10 years ago by thebjorn <bp@…>

Attachment: newrules.diff added

updated rules for assigning numbers

comment:4 Changed 10 years ago by thebjorn <bp@…>

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 Changed 10 years ago by Malcolm Tredinnick

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