Opened 13 years ago

Closed 13 years ago

Last modified 13 years ago

#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:

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)

mx_localflavors-1.3.diff (23.4 KB ) - added by Andrés Torres 13 years ago.
Diff for Django 1.3 version
mx_localflavors.diff (26.2 KB ) - added by Andrés Torres 13 years ago.
Patch for the lastest trunk - July 28, 2011

Download all attachments as: .zip

Change History (17)

by Andrés Torres, 13 years ago

Attachment: mx_localflavors-1.3.diff added

Diff for Django 1.3 version

comment:1 by Aymeric Augustin, 13 years ago

Owner: changed from nobody to Aymeric Augustin
Status: newassigned

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 Aymeric Augustin, 13 years ago

Owner: changed from Aymeric Augustin to nobody
Status: assignednew
Triage Stage: UnreviewedAccepted

in reply to:  1 comment:3 by gerardorozco, 13 years ago

Replying to aaugustin:

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.

Thank you for the fast reply. What is the next step?

comment:4 by Aymeric Augustin, 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:5 by anonymous, 13 years ago

Can you please do a diff against the trunk version?

comment:6 by anonymous, 13 years ago

Patch needs improvement: set
Triage Stage: AcceptedUnreviewed

comment:7 by Aymeric Augustin, 13 years ago

Triage Stage: UnreviewedAccepted

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.

comment:8 by Andrés Torres, 13 years ago

We uploaded the patch for the latest trunk, is anything else required?

comment:9 by zodman, 13 years ago

its look good for me.

comment:10 by Jannis Leidel, 13 years ago

Needs documentation: set

in reply to:  10 ; comment:11 by Andrés Torres, 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.

in reply to:  11 ; comment:12 by Jannis Leidel, 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 Andrés Torres, 13 years ago

Attachment: mx_localflavors.diff added

Patch for the lastest trunk - July 28, 2011

in reply to:  12 comment:13 by Andrés Torres, 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.

comment:14 by Jannis Leidel, 13 years ago

Resolution: fixed
Status: newclosed

In [16572]:

Fixed #16497 -- Added new form and model fields to the Mexican local flavor. Many thanks to Andrés Torres Marroquín and Gerardo Orozco.

comment:15 by Jacob, 13 years ago

milestone: 1.4

Milestone 1.4 deleted

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