Django

Code

Ticket #8515 (closed: fixed)

Opened 2 years ago

Last modified 1 year ago

PLREGONField incorrecly validates REGON numbers

Reported by: Piotr Lewandowski <django@icomputing.pl> Assigned to: nobody
Milestone: 1.1 Component: django.contrib.localflavor
Version: SVN Keywords:
Cc: ubanus@users.sf.net Triage Stage: Accepted
Has patch: 1 Needs documentation: 0
Needs tests: 0 Patch needs improvement: 0

Description

PLREGONField incorrectly validates REGON numbers which can be only 9 or 14 digits long.

See http://www.stat.gov.pl/bip/389_117_ENG_HTML.htm and http://pl.wikipedia.org/wiki/REGON for details.

Attachments

regon-validation.patch (3.8 kB) - added by Piotr Lewandowski <django@icomputing.pl> on 08/24/08 05:07:13.

Change History

08/24/08 05:07:13 changed by Piotr Lewandowski <django@icomputing.pl>

  • attachment regon-validation.patch added.

09/02/08 05:07:25 changed by Piotr Lewandowski <django@icomputing.pl>

  • cc set to ubanus@users.sf.net.
  • needs_better_patch changed.
  • needs_docs changed.
  • needs_tests changed.
  • milestone set to post-1.0.

It's too late for this patch to be included before 1.0 due to string freeze.

02/25/09 13:51:44 changed by

  • milestone deleted.

Milestone post-1.0 deleted

02/25/09 14:46:00 changed by jacob

  • stage changed from Unreviewed to Accepted.
  • milestone set to 1.1.

04/09/09 20:13:05 changed by Alex

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

Fixed in r10460.


Add/Change #8515 (PLREGONField incorrecly validates REGON numbers)




Change Properties
Action