#22637: Documentation not clear about the effects of max_length for IntegerField
-------------------------------+--------------------------------------
     Reporter:  msn@…          |                    Owner:  nobody
         Type:  Bug            |                   Status:  new
    Component:  Documentation  |                  Version:  1.7-beta-2
     Severity:  Normal         |               Resolution:
     Keywords:                 |             Triage Stage:  Unreviewed
    Has patch:  0              |      Needs documentation:  0
  Needs tests:  0              |  Patch needs improvement:  0
Easy pickings:  1              |                    UI/UX:  0
-------------------------------+--------------------------------------
Changes (by shai):

 * needs_better_patch:   => 0
 * component:  Migrations => Documentation
 * needs_tests:   => 0
 * easy:  0 => 1
 * needs_docs:   => 0


Comment:

 Hello,

 Thanks for taking care to submit this detailed report. Actually,
 `max_length` is not a documented option for `IntegerField`, and AFAIK it
 only modifies the widget that is generated for the field in forms by
 default.

 If you want to specify exactly the parameters of a numeric database
 column, use `DecimalField`.

 I am recasting this as a documentation bug.

-- 
Ticket URL: <https://code.djangoproject.com/ticket/22637#comment:1>
Django <https://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 unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/077.fc4bcac6f5cfaf586a194e2b3cdeccf1%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to