I have the following model:

class Fact(models.Model):
     text = models.TextField(core = True)
     newspost = models.ForeignKey(Newspost,
                                  edit_inline = models.TABULAR,
                                  num_in_admin = 5,
                                  min_num_in_admin = 5,
                                  num_extra_on_change = 3,
                                  related_name = "facts")

Because each newspost shows 5 of these, and they generally aren't  
very long, the default of 10 rows is too much, and makes the admin  
interface a bit awkward.  Searching through the mailing list  
archives, I turned up suggestions to use CSS, either by id, or by the  
class .vLargeTextField.  Neither of these will work in my case,  
however.  There are five facts by default, with id's #id_fact.1.text  
through #id_fact.5.text, which would be possible, although ugly, but  
through repeated changes, there could be an unbounded number of them,  
and I can't list all the possible id's.  Also, I can't  
use .vLargeTextField because the newspost itself has it's own  
textField, which I don't want to shrink.  Is there a reasonable  
solution to this, or am I going to have to list id's up to 100 or  
something and hope that's enough?

Andrew

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to