Ticket #14376: 0001-Added-ref-doc-to-Brazilian-CPF-and-CNPJ-fields.diff

File 0001-Added-ref-doc-to-Brazilian-CPF-and-CNPJ-fields.diff, 1.2 KB (added by Henrique Bastos, 14 years ago)
  • docs/ref/contrib/localflavor.txt

    From f0181416dc9993fc3aee1219dc1de0d206aacb73 Mon Sep 17 00:00:00 2001
    From: Henrique Bastos <henrique@bastos.net>
    Date: Sat, 2 Oct 2010 00:02:07 -0300
    Subject: [PATCH] Added ref doc to Brazilian CPF and CNPJ fields from localflavors.
    
    ---
     docs/ref/contrib/localflavor.txt |   14 ++++++++++++++
     1 files changed, 14 insertions(+), 0 deletions(-)
    
    diff --git a/docs/ref/contrib/localflavor.txt b/docs/ref/contrib/localflavor.txt
    index 48cfa63..fc63daa 100644
    a b Brazil (``br``)  
    200200    A ``Select`` widget that uses a list of Brazilian states/territories as its
    201201    choices.
    202202
     203.. class:: br.forms.BRCPFField
     204
     205    A form field that validates input as `Brazilian CPF`_.
     206    Input can be either on the format XXX.XXX.XXX-VD or a group of 11 digits.
     207
     208.. _Brazilian CPF: http://en.wikipedia.org/wiki/Cadastro_de_Pessoas_F%C3%ADsicas
     209
     210.. class:: br.forms.BRCNPJField
     211
     212    A form field that validates input as `Brazilian CNPJ`_.
     213    Input can be either on the format XX.XXX.XXX/XXXX-XX or a group of 14 digits.
     214
     215.. _Brazilian CNPJ: http://en.wikipedia.org/wiki/National_identification_number
     216
    203217Canada (``ca``)
    204218===============
    205219
Back to Top