Opened 16 years ago
Closed 13 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)
Change History (9)
by , 16 years ago
| Attachment: | localflavor.hu.diff added |
|---|
comment:1 by , 16 years ago
| Triage Stage: | Unreviewed → Accepted |
|---|
comment:2 by , 16 years ago
| milestone: | → 1.2 |
|---|---|
| Needs tests: | set |
| Version: | 1.0 |
comment:3 by , 16 years ago
| Cc: | added |
|---|
comment:4 by , 16 years ago
| milestone: | 1.2 |
|---|
comment:5 by , 15 years ago
| Severity: | → Normal |
|---|---|
| Type: | → New feature |
comment:8 by , 13 years ago
| Keywords: | localflavorsplit added |
|---|---|
| Resolution: | → invalid |
| Status: | new → 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!
Hungarian localflavor patch