Opened 7 years ago

Closed 4 years ago

#11217 closed New feature (invalid)

Add Hungarian localflavor

Reported by: Viktor Owned by: nobody
Component: contrib.localflavor Version:
Severity: Normal Keywords: localflavorsplit
Cc: Jannis Leidel Triage Stage: Accepted
Has patch: yes Needs documentation: no
Needs tests: yes Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

The attached patch adds 4 localflavor classes for Hungary:

  • HUIBANField
  • HUPhoneNumberField
  • HUVatNumberField
  • HUZipCodeField

moreover, it add a localflavor.generic.util.validate_iban method.

The code for this latter comes from localflavor.ro.forms.ROIBANField.

Attachments (1)

localflavor.hu.diff (7.2 KB) - added by Viktor 7 years ago.
Hungarian localflavor patch

Download all attachments as: .zip

Change History (9)

Changed 7 years ago by Viktor

Attachment: localflavor.hu.diff added

Hungarian localflavor patch

comment:1 Changed 7 years ago by Alex Gaynor

Needs documentation: unset
Needs tests: unset
Patch needs improvement: unset
Triage Stage: UnreviewedAccepted

comment:2 Changed 7 years ago by Jannis Leidel

milestone: 1.2
Needs tests: set
Version: 1.0

comment:3 Changed 7 years ago by Jannis Leidel

Cc: Jannis Leidel added

comment:4 Changed 7 years ago by Russell Keith-Magee

milestone: 1.2

comment:5 Changed 5 years ago by Julien Phalip

Severity: Normal
Type: New feature

comment:6 Changed 5 years ago by Aymeric Augustin

UI/UX: unset

Change UI/UX from NULL to False.

comment:7 Changed 5 years ago by Aymeric Augustin

Easy pickings: unset

Change Easy pickings from NULL to False.

comment:8 Changed 4 years ago by Aymeric Augustin

Keywords: localflavorsplit added
Resolution: invalid
Status: newclosed

django.contrib.localflavor is now deprecated (see https://docs.djangoproject.com/en/dev/ref/contrib/localflavor/).

If you'd like, I encourage you to create a django-localflavor- (where is your country code), following the template of all the other django-localflavor- packages. See http://github.com/django for the list.

Once that's done, we can link to it from the documentation.

Thanks for your understanding!

Note: See TracTickets for help on using tickets.
Back to Top