Code

Opened 5 years ago

Closed 18 months ago

#11217 closed New feature (invalid)

Add Hungarian localflavor

Reported by: nagyv Owned by: nobody
Component: contrib.localflavor Version:
Severity: Normal Keywords: localflavorsplit
Cc: jezdez 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 nagyv 5 years ago.
Hungarian localflavor patch

Download all attachments as: .zip

Change History (9)

Changed 5 years ago by nagyv

Hungarian localflavor patch

comment:1 Changed 5 years ago by Alex

  • Needs documentation unset
  • Needs tests unset
  • Patch needs improvement unset
  • Triage Stage changed from Unreviewed to Accepted

comment:2 Changed 4 years ago by jezdez

  • milestone set to 1.2
  • Needs tests set
  • Version 1.0 deleted

comment:3 Changed 4 years ago by jezdez

  • Cc jezdez added

comment:4 Changed 4 years ago by russellm

  • milestone 1.2 deleted

comment:5 Changed 3 years ago by julien

  • Severity set to Normal
  • Type set to New feature

comment:6 Changed 2 years ago by aaugustin

  • UI/UX unset

Change UI/UX from NULL to False.

comment:7 Changed 2 years ago by aaugustin

  • Easy pickings unset

Change Easy pickings from NULL to False.

comment:8 Changed 18 months ago by aaugustin

  • Keywords localflavorsplit added
  • Resolution set to invalid
  • Status changed from new to closed

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!

Add Comment

Modify Ticket

Change Properties
<Author field>
Action
as closed
as The resolution will be set. Next status will be 'closed'
The resolution will be deleted. Next status will be 'new'
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.