W dniu wtorek, 14 lutego 2017 16:19:48 UTC+1 użytkownik jp...@yourlabs.org napisał: > > However, there's a third alternative to changing Meta that may be worth > suggesting: adding a new Field attribute ie. translatable=True, which could > be default for CharField and TextField perhaps. It might even turn to be an > advantage that no existing translation app supports it that way. >
I'd vote against adding non-database-related attributes to model fields. I actually hope one day Django will drop some of the existing ones that are only used by admin (like `editable`). -- 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/f58a8e66-e792-4468-91e6-7ca6e1b641c4%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.