Django

Code

Ticket #3879 (closed: fixed)

Opened 1 year ago

Last modified 1 year ago

Add Norwegian localflavor

Reported by: thebjorn <bp@datakortet.no> Assigned to: adrian
Milestone: Component: Contrib apps
Version: SVN Keywords: localflavor l10n no
Cc: Triage Stage: Ready for checkin
Has patch: 1 Needs documentation: 0
Needs tests: 0 Patch needs improvement: 0

Description

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

Attachments

no_localflavor.diff (4.0 kB) - added by thebjorn <bp@datakortet.no> on 03/30/07 11:30:24.
newrules.diff (0.8 kB) - added by thebjorn <bp@datakortet.no> on 03/31/07 15:50:55.
updated rules for assigning numbers

Change History

03/30/07 11:30:24 changed by thebjorn <bp@datakortet.no>

  • attachment no_localflavor.diff added.

03/30/07 22:15:05 changed by Simon G. <dev@simon.net.nz>

  • needs_better_patch changed.
  • stage changed from Unreviewed to Ready for checkin.
  • needs_tests changed.
  • needs_docs changed.

03/31/07 04:12:19 changed 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.

03/31/07 04:14:37 changed by mtredinnick

  • status changed from new to closed.
  • resolution set to fixed.

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

03/31/07 15:50:55 changed by thebjorn <bp@datakortet.no>

  • attachment newrules.diff added.

updated rules for assigning numbers

03/31/07 15:54:59 changed by thebjorn <bp@datakortet.no>

  • status changed from closed to reopened.
  • resolution deleted.

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.

04/01/07 00:00:45 changed by mtredinnick

  • status changed from reopened to closed.
  • resolution set to fixed.

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


Add/Change #3879 (Add Norwegian localflavor)




Change Properties
Action