-----Original Message-----
From: django-users@googlegroups.com [mailto:[EMAIL PROTECTED]
On Behalf Of jordi.f
Sent: 08 May 2007 19:27
To: Django users
Subject: Re: How to change the size of input field from Django


Hi L.B.,

I copy to 'myproject/templates/admin/base_site.html' the template from the
Django source tree: 'django/contrib/admin/templates/admin/
base_site.html', so I can overwrite it without patching Django.

Then I add something like

  {% block extrastyle %}
  <style type="text/css">
      textarea#id_Description { width: 60em; height: 35em; }
  </style>
  {% endblock %}

That's enough for me, and works with oldforms.








--~--~---------~--~----~------------~-------~--~----~
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?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to