Opened 16 years ago
Closed 12 years ago
#10087 closed New feature (invalid)
Missing models.py in django.contrib.localflavor.fr
Reported by: | Lior Gradstein | Owned by: | nobody |
---|---|---|---|
Component: | contrib.localflavor | Version: | 1.0 |
Severity: | Normal | Keywords: | localflavorsplit |
Cc: | David Larlet | Triage Stage: | Accepted |
Has patch: | yes | Needs documentation: | yes |
Needs tests: | no | Patch needs improvement: | yes |
Easy pickings: | no | UI/UX: | no |
Description
To use french flavored PhoneNumberField in models, one need the models.py file like in django.contrib.localflavor.us.
Here's the diff to add it.
Attachments (1)
Change History (7)
by , 16 years ago
Attachment: | models.py.diff added |
---|
comment:1 by , 16 years ago
Cc: | added |
---|---|
Needs documentation: | set |
Patch needs improvement: | set |
Thanks for adding this, size in db_type methods should be limited to 5 and 14 respectively (as forms validate those).
Note that documentation is missing too, do you plan to add it?
comment:2 by , 16 years ago
Triage Stage: | Unreviewed → Accepted |
---|
Yup, documentation and tests will be required to check this in.
comment:3 by , 14 years ago
Severity: | → Normal |
---|---|
Type: | → New feature |
comment:6 by , 12 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/
A repository was created for each localflavor at https://github.com/django/django-localflavor-? (Replace with the country code.)
If you're still interested in this ticket, could you create a pull request on that repository?
Sorry for not resolving this issue earlier, and thanks for your input!
french models.py for django.contrib.localflavor