Changeset 7989
- Timestamp:
- 07/19/08 14:22:44 (4 months ago)
- Files:
-
- django/trunk/django/contrib/localflavor/ro (added)
- django/trunk/django/contrib/localflavor/ro/forms.py (added)
- django/trunk/django/contrib/localflavor/ro/__init__.py (added)
- django/trunk/django/contrib/localflavor/ro/ro_counties.py (added)
- django/trunk/docs/localflavor.txt (modified) (3 diffs)
- django/trunk/tests/regressiontests/forms/localflavor/ro.py (added)
- django/trunk/tests/regressiontests/forms/tests.py (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
django/trunk/docs/localflavor.txt
r7967 r7989 48 48 * Peru_ 49 49 * Poland_ 50 * Romania_ 50 51 * Slovakia_ 51 52 * `South Africa`_ … … 85 86 .. _Peru: `Peru (django.contrib.localflavor.pe)`_ 86 87 .. _Poland: `Poland (django.contrib.localflavor.pl)`_ 88 .. _Romania: `Romania (django.contrib.localflavor.ro)`_ 87 89 .. _Slovakia: `Slovakia (django.contrib.localflavor.sk)`_ 88 90 .. _South Africa: `South Africa (django.contrib.localflavor.za)`_ … … 498 500 provinces) as its choices. 499 501 502 Romania (``django.contrib.localflavor.ro``) 503 ============================================ 504 505 ROCIFField 506 ---------- 507 508 A form field that validates Romanian fiscal identification codes (CIF). The 509 return value strips the leading RO, if given. 510 511 ROCNPField 512 ---------- 513 514 A form field that validates Romanian personal numeric codes (CNP). 515 516 ROCountyField 517 ------------- 518 519 A form field that validates its input as a Romanian county (judet) name or 520 abbreviation. It normalizes the input to the standard vehicle registration 521 abbreviation for the given county. This field will only accept names written 522 with diacritics; consider using ROCountySelect as an alternative. 523 524 ROCountySelect 525 -------------- 526 527 A ``Select`` widget that uses a list of Romanian counties (judete) as its 528 choices. 529 530 ROIBANField 531 ----------- 532 533 A form field that validates its input as a Romanian International Bank 534 Account Number (IBAN). The valid format is ROXX-XXXX-XXXX-XXXX-XXXX-XXXX, 535 with or without hyphens. 536 537 ROPhoneNumberField 538 ------------------ 539 540 A form field that validates Romanian phone numbers, short special numbers 541 excluded. 542 543 ROPostalCodeField 544 ----------------- 545 546 A form field that validates Romanian postal codes. 547 500 548 Slovakia (``django.contrib.localflavor.sk``) 501 549 ============================================ django/trunk/tests/regressiontests/forms/tests.py
r7967 r7989 20 20 from localflavor.nl import tests as localflavor_nl_tests 21 21 from localflavor.pl import tests as localflavor_pl_tests 22 from localflavor.ro import tests as localflavor_ro_tests 22 23 from localflavor.sk import tests as localflavor_sk_tests 23 24 from localflavor.uk import tests as localflavor_uk_tests … … 51 52 'localflavor_nl_tests': localflavor_nl_tests, 52 53 'localflavor_pl_tests': localflavor_pl_tests, 54 'localflavor_ro_tests': localflavor_ro_tests, 53 55 'localflavor_sk_tests': localflavor_sk_tests, 54 56 'localflavor_uk_tests': localflavor_uk_tests,
