#15304: `Model.objects.create()` returns `long` instead of `int`.
-------------------------------------+-------------------------------------
               Reporter:  mrmachine  |          Owner:  nobody
                   Type:  Bug        |         Status:  closed
              Milestone:             |      Component:  Database layer
                Version:  SVN        |  (models, ORM)
             Resolution:  wontfix    |       Severity:  Normal
           Triage Stage:  Design     |       Keywords:  int long primary
  decision needed                    |  key create get
    Needs documentation:  0          |      Has patch:  1
Patch needs improvement:  0          |    Needs tests:  0
                  UI/UX:  0          |  Easy pickings:  0
-------------------------------------+-------------------------------------
Changes (by mtredinnick):

 * status:  new => closed
 * ui_ux:   => 0
 * resolution:   => wontfix
 * stage:  Ready for checkin => Design decision needed


Comment:

 I don't think this is worth it. Without a compelling case for why code
 should particularly care about the int/long difference, the extra
 complexity isn't needed. Numbers are numbers for almost all intents and
 purposes and who is writing code working with models that cares about the
 int versus long differentiation.

 Should only be reopened with an example of non-trivial code that fails
 without this change. "I prefer it to be an integer" is not enough.

-- 
Ticket URL: <https://code.djangoproject.com/ticket/15304#comment:9>
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 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.

Reply via email to