#13631: IntegerField has no attributes max_value and min_value (1.2 regression)
-------------------------------+--------------------------------------------
Reporter: mila | Owner: nobody
Status: new | Milestone:
Component: Forms | Version: 1.2
Resolution: | Keywords:
Stage: Accepted | Has_patch: 0
Needs_docs: 1 | Needs_tests: 0
Needs_better_patch: 0 |
-------------------------------+--------------------------------------------
Changes (by erikr):
* needs_better_patch: => 0
* stage: Unreviewed => Accepted
* needs_tests: => 0
* needs_docs: => 1
Comment:
I haven't seen the old code, but it seems IntegerField now does min/max
using django.core.validators. The fields are indeed not set in the code.
I think the documentation is not very clear on whether or not these fields
should exist.
So, either the fields should be added, or the documentation should be
clarified so that it doesn't suggests these fields being there.
I don't see an easy alternative to get them from the field instance.
--
Ticket URL: <http://code.djangoproject.com/ticket/13631#comment:1>
Django <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.