[EMAIL PROTECTED] wrote: > for a field defined as > spot =models.CharField(maxlength=250), > or band =models.CharField(maxlength=2), > > the input field in forms always has a fixed width. how to change that > ?
Add length=<number>. Like so: formfields.TextField(field_name="address_line1", maxlength=80, length=50), John --~--~---------~--~----~------------~-------~--~----~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users -~----------~----~----~----~------~----~------~--~---