#16497 closed New feature (fixed)
Adding MXFields to contrib.localflavor
Reported by: | Andrés Torres | Owned by: | nobody |
---|---|---|---|
Component: | contrib.localflavor | Version: | 1.3 |
Severity: | Normal | Keywords: | mexican localflavor |
Cc: | Triage Stage: | Accepted | |
Has patch: | yes | Needs documentation: | yes |
Needs tests: | no | Patch needs improvement: | yes |
Easy pickings: | no | UI/UX: | no |
Description
We added code, tests, and documentation for the following:
- forms.MXStateSelect
- forms.MXZipCodeField
- forms.MXRFCField
- forms.MXCURPField
- models.MXStateField
- models.MXZipCodeField
- models.MXRFCField
- models.MXCURPField
We leave at your disposal our branches in our GitHub repo:
- https://github.com/Codenga/django/tree/adding-mx-localflavor-1.3 branched from tag 1.3
- https://github.com/Codenga/django/tree/adding-mx-localflavor branched from master
The diff that we're uploading corresponds to the Django 1.3 version.
Authors:
- Gerardo Orozco <gerardo.orozco.mosqueda@…>
- Andrés Torres Marroquín <andres.torres.marroquin@…>
Any question you may have, please don't doubt to ask.
Attachments (2)
Change History (17)
by , 13 years ago
Attachment: | mx_localflavors-1.3.diff added |
---|
follow-up: 3 comment:1 by , 13 years ago
Owner: | changed from | to
---|---|
Status: | new → assigned |
This was already reported in #9042. However, the patch over there is three years old and yours looks more complete, so I'll close the other ticket.
comment:2 by , 13 years ago
Owner: | changed from | to
---|---|
Status: | assigned → new |
Triage Stage: | Unreviewed → Accepted |
comment:3 by , 13 years ago
comment:4 by , 13 years ago
Someone must review the ticket to ensure it meets our expectations, and it as ready for checkin.
https://docs.djangoproject.com/en/dev/internals/contributing/triaging-tickets/
comment:6 by , 13 years ago
Patch needs improvement: | set |
---|---|
Triage Stage: | Accepted → Unreviewed |
comment:7 by , 13 years ago
Triage Stage: | Unreviewed → Accepted |
---|
Indeed, the patch doesn't apply on trunk. You should always upload patches against the latest SVN revision.
But that's not a reason to move the ticket back to unreviewed - see the triage guidelines.
follow-up: 11 comment:10 by , 13 years ago
Needs documentation: | set |
---|
follow-up: 12 comment:11 by , 13 years ago
Replying to jezdez:
Can you give us a example of how document this? We thought that all the docstrings would be enough. Thanks by advance.
follow-up: 13 comment:12 by , 13 years ago
Replying to srpoder:
Replying to jezdez:
Can you give us a example of how document this? We thought that all the docstrings would be enough. Thanks by advance.
Sure, have a look at the [source:django/trunk/docs/ref/contrib/localflavor.txt] and its history for an idea of what has been done in the past.
You can see the current docs here: https://docs.djangoproject.com/en/dev/ref/contrib/localflavor/
by , 13 years ago
Attachment: | mx_localflavors.diff added |
---|
Patch for the lastest trunk - July 28, 2011
comment:13 by , 13 years ago
Replying to jezdez:
Replying to srpoder:
Replying to jezdez:
Can you give us a example of how document this? We thought that all the docstrings would be enough. Thanks by advance.
Sure, have a look at the [source:django/trunk/docs/ref/contrib/localflavor.txt] and its history for an idea of what has been done in the past.
You can see the current docs here: https://docs.djangoproject.com/en/dev/ref/contrib/localflavor/
Thanks a lot jezdez, it is done now, and ready for review.
Diff for Django 1.3 version