On 2/06/2016 7:31 PM, Michal Petrucha wrote:
On Thu, Jun 02, 2016 at 07:22:16PM +1000, Mike Dewhirst wrote:
I have a varchar field of 300+ chars and I'd like to know how to provide
space to wrap it on screen without resorting to a TextField
Any CSS ideas?
Thanks
Mike
Perhaps you could override the widget to a Textarea with the right
maxlength attribute? That should be fine if you don't target IE<10...
I'm guessing I have to first inherit the admin form for the page
involved then tweak the widget.
Haven't played there before. Back to the docs ...
Thank you Michal
Cheers
Mike
Cheers,
Michal
--
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/c15c5d17-075a-542c-31c3-35cc1f1d3120%40dewhirst.com.au.
For more options, visit https://groups.google.com/d/optout.