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``)
|
200 | 200 | A ``Select`` widget that uses a list of Brazilian states/territories as its |
201 | 201 | choices. |
202 | 202 | |
| 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 | |
203 | 217 | Canada (``ca``) |
204 | 218 | =============== |
205 | 219 | |