#2101: maxlength should be max_length
------------------------------------+---------------------------------------
Reporter: nirvdrum | Owner: adrian
Status: new | Component: Database wrapper
Version: | Resolution:
Keywords: maxlength max_length | Stage: Accepted
Has_patch: 1 | Needs_docs: 1
Needs_tests: 0 | Needs_better_patch: 0
------------------------------------+---------------------------------------
Changes (by SmileyChris):
* needs_docs: 0 => 1
Comment:
Two notes:
1. Documentation needs to be written explaining the change. Probably
placed in `model-api`. Maybe also a note in `forms`?
2. The longer this patch sits around, the more chance a future patch
could slip in a reference to the old `maxlength` format, so search for any
references of those when merging, ignoring:
* `django/db/models/fields/__init__.py`
* `newforms/fields.py`
* `oldforms/__init__.py`
* `docs/newforms.txt`
* `tests/regressiontests/forms/tests.py`
* `tests/regressiontests/maxlength/tests.py`
--
Ticket URL: <http://code.djangoproject.com/ticket/2101#comment:6>
Django Code <http://code.djangoproject.com/>
The web framework for perfectionists with deadlines
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/django-updates?hl=en
-~----------~----~----~----~------~----~------~--~---