Django

Code

Ticket #3945 (closed: fixed)

Opened 1 year ago

Last modified 1 year ago

BR localflavor update

Reported by: onaiort@gmail.com Assigned to: onaiort@gmail.com
Milestone: Component: django.contrib.localflavor
Version: SVN Keywords:
Cc: onaiort@gmail.com Triage Stage: Accepted
Has patch: 1 Needs documentation: 0
Needs tests: 1 Patch needs improvement: 0

Description

Support for CNPJ fields in BR localflavor.

Attachments

django_cnpj_localflavor.diff (1.6 kB) - added by onaiort@gmail.com on 04/06/07 00:29:20.
Initial implementation
django_cnpj_localflavor_take2.diff (3.3 kB) - added by onaiort@gmail.com on 04/06/07 12:25:58.
minor improvements plus tests as requested

Change History

04/06/07 00:29:20 changed by onaiort@gmail.com

  • attachment django_cnpj_localflavor.diff added.

Initial implementation

04/06/07 00:30:16 changed by anonymous

  • owner changed from adrian to onaiort@gmail.com.
  • needs_better_patch changed.
  • needs_tests changed.
  • needs_docs changed.

04/06/07 00:53:41 changed by Simon G. <dev@simon.net.nz>

  • needs_tests set to 1.
  • stage changed from Unreviewed to Accepted.

This looks good, but can you make a test for this with a few dummy values? (if you're stuck - see some of the tests in source:tests/regressiontests/forms/localflavor.py)

04/06/07 12:25:58 changed by onaiort@gmail.com

  • attachment django_cnpj_localflavor_take2.diff added.

minor improvements plus tests as requested

04/08/07 21:25:15 changed by adrian

  • component changed from Contrib apps to django.contrib.localflavor.

04/26/07 08:11:07 changed by mtredinnick

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

(In [5089]) Fixed #3957, #3945 -- Added CPF and CNPJ (some Brazilian identity numbers) fields to the Brazilian localflavor. Thanks, onaiort@gmail.com and danielvaz@gmail.com.

04/26/07 11:32:22 changed by anonymous

Actually, my name is Henrique Romano. I don't see any field to set it in the trac, sorry.

04/27/07 07:46:41 changed by mtredinnick

(In [5107]) Updated Henrique Romano's AUTHOR entry. Refs #3945.


Add/Change #3945 (BR localflavor update)




Change Properties
Action