* Joe Reitman <jreitma...@gmail.com> [190512 13:34]: > Tim, > > I found this in the Django source code on Github searching for > 'formfield_overrides'. It is in a test module testing formfield_overrides > functionality. I'm assuming you imported TextInput from forms? This should > work to change your *admin* display. Are trying to change your Admin panel > form or a form going out to the user? > > > class BandAdmin(admin.ModelAdmin): > formfield_overrides = { > CharField: {'widget': forms.TextInput(attrs={'size': '10'})} > } I am trying to change a form going to the user. The form in the admin page __does__ show the size attribute in the HTML source code for input/text.
So it appears that formfield_overrides only affects the admin page. I'm going to call this solved - given that I can "widen" the field with css. Thanks again Joe. You've been a great help and I've learned a lot. cheers -- Tim Johnson http://www.tj49.com -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscr...@googlegroups.com. To post to this group, send email to django-users@googlegroups.com. Visit this group at https://groups.google.com/group/django-users. To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/20190512220300.GF2372%40mail.akwebsoft.com. For more options, visit https://groups.google.com/d/optout.