Well, there's one precedent that is quite pertinent here, and that is AUTH_USER_MODEL. But a setting for the length of a field in a built-in app is problematic because it would imply a migration in that app, rather than user apps.
In principle we could write the d.c.auth migration by hand to take the setting in account, and declare the setting as unchangeable like AUTH_USER_MODEL, but that would be very ugly special-casing IMO. On 2 באוגוסט 2016 16:28:11 GMT+03:00, Lee Trout <leetr...@gmail.com> wrote: >I thought about that before I posted. I can't remember seeing any >settings >that would also carry db consequences other than adding an app. (Or the >db >setting dict itself). > >On Tuesday, August 2, 2016, Malcolm Box <malc...@tellybug.com> wrote: > >> A setting seems like a dangerous option here, since changing it would >> cause a DB migration to be required. >> >> It's not *that* hard for us to find a value and apply it. Any user >that >> really wanted something different could create their own migration to >> change the default - but "leave it to the user" still means picking a >value >> for the sane default... >> >> Cheers, >> >> Malcolm >> >> On 2 August 2016 at 14:01, Lee Trout <leetr...@gmail.com >> <javascript:_e(%7B%7D,'cvml','leetr...@gmail.com');>> wrote: >> >>> I know there's always resistance to adding more settings but this >seems >>> like a candidate for a value in a setting with a sane default that a >user >>> could quickly and easily change. >>> >>> On Tuesday, August 2, 2016, James Pic <james...@gmail.com >>> <javascript:_e(%7B%7D,'cvml','james...@gmail.com');>> wrote: >>> >>>> Thanks for your reply Aymeric. If I understand correctly the best >way to >>>> approach this, besides increasing the current limits - which I've >had to do >>>> myself a few times - is to create a separate app providing a custom >model >>>> with an ArrayField for name (sorting) and a migration script, and >let time >>>> tell if this is more useful than the current approach and wether it >should >>>> become default or not after a long-enough while ? >>>> >>>> Again, thanks for your reply, every time I read messages from >engineers >>>> like you it makes me a better one myself and I'm sure it's the case >for >>>> most other persons. I understand it can sometimes be hard for you - >and >>>> other experienced core devs- to have to deal with us, so I really >want to >>>> show my appreciation and love and I think I can speak for everyone >of us >>>> when I say thank you for your contribution and your sharing and >making >>>> everyone of us better every time you take some time for us. >>>> >>>> Keep up the great work >>>> >>>> Best regards >>>> >>>> -- >>>> 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 >https://groups.google.com/group/django-developers. >>>> To view this discussion on the web visit >>>> >https://groups.google.com/d/msgid/django-developers/CALC3KaeNyMhAeG0_4L_j0KDg5hV_eAzucy42G1xiLMmfyHOtVQ%40mail.gmail.com >>>> ><https://groups.google.com/d/msgid/django-developers/CALC3KaeNyMhAeG0_4L_j0KDg5hV_eAzucy42G1xiLMmfyHOtVQ%40mail.gmail.com?utm_medium=email&utm_source=footer> >>>> . >>>> For more options, visit https://groups.google.com/d/optout. >>>> >>> -- >>> You received this message because you are subscribed to a topic in >the >>> Google Groups "Django developers (Contributions to Django itself)" >group. >>> To unsubscribe from this topic, visit >>> >https://groups.google.com/d/topic/django-developers/h98-oEi7z7g/unsubscribe >>> . >>> To unsubscribe from this group and all its topics, send an email to >>> django-developers+unsubscr...@googlegroups.com >>> ><javascript:_e(%7B%7D,'cvml','django-developers%2bunsubscr...@googlegroups.com');> >>> . >>> To post to this group, send email to >django-developers@googlegroups.com >>> ><javascript:_e(%7B%7D,'cvml','django-developers@googlegroups.com');>. >>> Visit this group at >https://groups.google.com/group/django-developers. >>> To view this discussion on the web visit >>> >https://groups.google.com/d/msgid/django-developers/CAABi-DoVpZoTCKL9Mw-J%3DrSJhHFR1jo-WCr9gTVAa%2BBKWbsCjQ%40mail.gmail.com >>> ><https://groups.google.com/d/msgid/django-developers/CAABi-DoVpZoTCKL9Mw-J%3DrSJhHFR1jo-WCr9gTVAa%2BBKWbsCjQ%40mail.gmail.com?utm_medium=email&utm_source=footer> >>> . >>> >>> For more options, visit https://groups.google.com/d/optout. >>> >> >> >> >> -- >> Malcolm Box >> >> -- >> 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 >> ><javascript:_e(%7B%7D,'cvml','django-developers%2bunsubscr...@googlegroups.com');> >> . >> To post to this group, send email to >django-developers@googlegroups.com >> <javascript:_e(%7B%7D,'cvml','django-developers@googlegroups.com');>. >> Visit this group at >https://groups.google.com/group/django-developers. >> To view this discussion on the web visit >> >https://groups.google.com/d/msgid/django-developers/CAF3R4sVikNLgr1DVtKw_3ps7gFuHrZbO3K1Zhv14ZuUzM5zR0A%40mail.gmail.com >> ><https://groups.google.com/d/msgid/django-developers/CAF3R4sVikNLgr1DVtKw_3ps7gFuHrZbO3K1Zhv14ZuUzM5zR0A%40mail.gmail.com?utm_medium=email&utm_source=footer> >> . >> 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 https://groups.google.com/group/django-developers. >To view this discussion on the web visit >https://groups.google.com/d/msgid/django-developers/CAABi-Dpg-Vw30Fx80Oij0Ozh6Uqv6kyCeWSRjbj317w9vJadvg%40mail.gmail.com. >For more options, visit https://groups.google.com/d/optout. -- Sent from my Android device with K-9 Mail. Please excuse my brevity. -- 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 https://groups.google.com/group/django-developers. To view this discussion on the web visit https://groups.google.com/d/msgid/django-developers/92585282-A68E-436C-9A3F-4AD5F766917D%40platonix.com. For more options, visit https://groups.google.com/d/optout.