Opened 3 years ago

Closed 3 years ago

#18792 closed New feature (invalid)

localflavor for Iranian users

Reported by: lxsameer Owned by: nobody
Component: contrib.localflavor Version: master
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 Changed 3 years ago by lxsameer

  • Cc lxsameer@… added
  • Needs documentation unset
  • Needs tests unset
  • Patch needs improvement unset

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 ?

comment:2 Changed 3 years ago by angusturner

  • Cc angusturner added
  • Triage Stage changed from Unreviewed to 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 Changed 3 years 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!

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