Re: html input tag width corresponding to CharFields always fixed
Is there a way to fold this into a model that uses only generic views (i.e., without getting into custom manipulators)? And if so, an example would be humongously appreciated! John H. --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---
Re: html input tag width corresponding to CharFields always fixed
[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=. 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 -~--~~~~--~~--~--~---
html input tag width corresponding to CharFields always fixed
Hello, 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 ? thanks --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---