Opened 8 years ago

Closed 8 years ago

#3879 closed (fixed)

Add Norwegian localflavor

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

Download all attachments as: .zip

Change History (7)

Changed 8 years ago by thebjorn <bp@…>

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

  • Needs documentation unset
  • Needs tests unset
  • Patch needs improvement unset
  • Triage Stage changed from Unreviewed to Ready for checkin

comment:2 Changed 8 years ago by mtredinnick

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 8 years ago by mtredinnick

  • Resolution set to fixed
  • Status changed from new to closed

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

Changed 8 years ago by thebjorn <bp@…>

updated rules for assigning numbers

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

  • Resolution fixed deleted
  • Status changed from closed to reopened

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 8 years ago by mtredinnick

  • Resolution set to fixed
  • Status changed from reopened to closed

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

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