Opened 13 years ago
Closed 13 years ago
#18792 closed New feature (invalid)
localflavor for Iranian users
| Reported by: | Sameer Rahmani | Owned by: | nobody |
|---|---|---|---|
| Component: | contrib.localflavor | Version: | dev |
| Severity: | Normal | Keywords: | localflavor, localflavorsplit |
| Cc: | lxsameer@…, angusturner | Triage Stage: | Design decision needed |
| Has patch: | no | Needs documentation: | no |
| Needs tests: | no | Patch needs improvement: | no |
| Easy pickings: | no | UI/UX: | no |
Description
Recently i decide to add some of my local related codes to django, like: form and model fields for Jalali calender, National ID Number, phone number fields, etc,
here is my current code:
https://github.com/lxsameer/django
I'll do a pull request as soon as my work done.
Change History (3)
comment:1 by , 13 years ago
| Cc: | added |
|---|
comment:2 by , 13 years ago
| Cc: | added |
|---|---|
| Triage Stage: | Unreviewed → Design decision needed |
Marking as DDN based on ongoing conversation on local flavors here: https://groups.google.com/d/topic/django-developers/OiyEGmXTifs/discussion
comment:3 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!
I add a module called utils.py under "ir" directory in localflavors. It is a borrowed code, but i removed unnecessary codes and make some change in it. should i mention the upstream author in the module ?