* Jim Illback <subaru...@hotmail.com> [190512 14:22]:
> Tim, this won’t help you to use or solve the formfield_overrides issues, but 
> maybe it will be helpful. I’ve not tried this for a CharField, but it works 
> great on a TextField (which has no max_length, so model size isn’t impacted):
> 
> 1. Install  widget tweaks and add {% load widget_tweaks %} at the top of your 
> HTML page.
> 2. On your HTML page, instantiate the field using this format: {{ 
> form.notes|attr:"rows:20"|attr:"cols:50" }} - you can use either row/cols or 
> both as in this case, and any char size.
> 
> Here’s a great usage example on widget tweaks: 
> https://simpleisbetterthancomplex.com/2015/12/04/package-of-the-week-django-widget-tweaks.html.
> 
> I hope this is useful for you.
  Thanks Jim. I had seen references to 'tweaks'
  and I will give it a try.
  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/20190512235055.GG2372%40mail.akwebsoft.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to