#23801: Warn when max_length is used with IntegerField
-------------------------------------+-------------------------------------
Reporter: eykd | Owner: nobody
Type: New feature | Status: new
Component: Database layer | Version: master
(models, ORM) | Resolution:
Severity: Normal | Triage Stage: Accepted
Keywords: | Needs documentation: 0
Has patch: 0 | Patch needs improvement: 0
Needs tests: 0 | UI/UX: 0
Easy pickings: 0 |
-------------------------------------+-------------------------------------
Comment (by eykd):
I'm using `django.db.backends.postgresql_psycopg2`, and I've seen the
behavior with Postgres 8.4 and 9.0. I should mention that we're on Django
1.4--I haven't tested this with a newer Django yet, but as I said, I've
been aware of the behavior since 1.0 or so. My code session above is
lightly edited from an actual session (obviously the model def needs to be
in a file and there's a syncdb or migration implicit as well).
I'll try reproducing the behavior in Django 1.7 later, just to be sure.
--
Ticket URL: <https://code.djangoproject.com/ticket/23801#comment:5>
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/062.f4ca87b952046b38ae14e49786699cae%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.