On Wed, Apr 8, 2009 at 1:54 AM, Mac <bob.u...@gmail.com> wrote: > > On Apr 7, 6:56 pm, Brian Neal <bgn...@gmail.com> wrote: > > On Apr 7, 3:04 pm, Mac <bob.u...@gmail.com> wrote: > > > > > Any pointers to the documentation for getting the text fields larger > > > for CharField data? They're kinda puny for columns that are defined > > > to have up to 255 characters. Thanks! > > > > You do it by supplying your own widget to the form field. See: > > > > http://docs.djangoproject.com/en/dev/ref/forms/widgets/#django.forms.... > > Thanks. I can see how that works if I'm creating my own forms, but > how would I go about modifying the widgets for the forms that ship > with the built-in admin application?
You can override the ModelAdmin.form attribute to provide your own customized form. See: http://docs.djangoproject.com/en/dev/ref/contrib/admin/#form TiNo --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~----------~----~----~----~------~----~------~--~---