Aymeric, thanks for clarification, my bad I missed that one. We will be using max_length=255 or 128 for the default as Shia proposed.
BTW how is this handled by integer_ranges on per database backend? Also, using checks_framework can we validate this setting? On Sep 22, 2015 1:49 AM, "Aymeric Augustin" < aymeric.augus...@polytechnique.org> wrote: > Hi Aron, > > On 22 sept. 2015, at 03:12, Podrigal, Aron <ar...@guaranteedplus.com> > wrote: > > > And for your concern, there will be a MaxLengthValidator added to the > validators to validate the users input does not exceed the database > backends maximum length just like when you set max_length explicitly. > > This isn’t possible in a project that uses multiple databases, say > PostgreSQL and Oracle. The form layer cannot say which length is correct > because it has doesn’t know in what database the data will be saved. > > -- > Aymeric. > > > > > -- > You received this message because you are subscribed to the Google Groups > "Django developers (Contributions to Django itself)" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to django-developers+unsubscr...@googlegroups.com. > To post to this group, send email to django-developers@googlegroups.com. > Visit this group at http://groups.google.com/group/django-developers. > To view this discussion on the web visit > https://groups.google.com/d/msgid/django-developers/2FF1A3B1-0167-4E52-9F99-EB5BDD6B81C5%40polytechnique.org > . > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "Django developers (Contributions to Django itself)" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-developers+unsubscr...@googlegroups.com. To post to this group, send email to django-developers@googlegroups.com. Visit this group at http://groups.google.com/group/django-developers. To view this discussion on the web visit https://groups.google.com/d/msgid/django-developers/CANJp-yi_6TK5bB-rd5d7XZJAwyKRPQthS%2BM1C0vZyqVK%2BY1d9w%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.