Ticket #7763: documentation.diff

File documentation.diff, 2.2 KB (added by Mihai Damian, 16 years ago)

Added documentation

  • localflavor.txt

     
    4747    * Norway_
    4848    * Peru_
    4949    * Poland_
     50    * Romania_
    5051    * Slovakia_
    5152    * `South Africa`_
    5253    * Spain_
     
    8485.. _Norway: `Norway (django.contrib.localflavor.no)`_
    8586.. _Peru: `Peru (django.contrib.localflavor.pe)`_
    8687.. _Poland: `Poland (django.contrib.localflavor.pl)`_
     88.. _Romania: `Romania (django.contrib.localflavor.ro)`_
    8789.. _Slovakia: `Slovakia (django.contrib.localflavor.sk)`_
    8890.. _South Africa: `South Africa (django.contrib.localflavor.za)`_
    8991.. _Spain: `Spain (django.contrib.localflavor.es)`_
     
    497499A ``Select`` widget that uses a list of Polish voivodeships (administrative
    498500provinces) as its choices.
    499501
     502Romania (``django.contrib.localflavor.ro``)
     503============================================
     504
     505ROCIFField
     506----------
     507
     508A form field that validates Romanian fiscal identification codes (CIF). The
     509return value strips the leading RO, if given.
     510
     511ROCNPField
     512----------
     513
     514A form field that validates Romanian personal numeric codes (CNP).
     515
     516ROCountyField
     517-------------
     518
     519A form field that validates its input as a Romanian county (judet) name or
     520abbreviation. It normalizes the input to the standard vehicle registration
     521abbreviation for the given county. This field will only accept names
     522written with diacritics; consider using ROCountySelect as an alternative.
     523
     524ROCountySelect
     525--------------
     526
     527A ``Select`` widget that uses a list of Romanian counties (judete) as its
     528choices.
     529
     530ROIBANField
     531-----------
     532
     533A form field that validates its input as a Romanian International Bank
     534Account Number (IBAN). The valid format is ROXX-XXXX-XXXX-XXXX-XXXX-XXXX,
     535with or without hyphens.
     536
     537ROPhoneNumberField
     538------------------
     539
     540A form field that validates Romanian phone numbers, short special numbers
     541excluded.
     542
     543ROPostalCodeField
     544----------------
     545
     546A form field that validates Romanian postal codes.
     547
    500548Slovakia (``django.contrib.localflavor.sk``)
    501549============================================
    502550
Back to Top