Re: How to use InlineModelAdmin for ManyToMany without an Intermediary model?

2009-04-16 Thread Christopher Dodd
? On Apr 10, 2:06 pm, Christopher Dodd wrote: > I realized my question was just a bit off. What I really want is to > create a TabularInline to edit the members relationship on the Group > interface.  This is what you get when you use an intermediary model, > as well as the ability

Re: Changing raw_id_field from 'id'

2009-04-16 Thread Christopher Dodd
I do something similar in http://groups.google.com/group/django-users/browse_thread/thread/14e580f3dd32e87d# Do you want a comma delimited list of barcodes? Assuming the barcode value is another field, you may be able to reuse some of my code but override the RawIdField instead of Field. On Ap

Re: Admin widget for filter_vertical and filter_horizontal slow

2009-04-16 Thread Christopher Dodd
Yeah, this is a known issue. http://code.djangoproject.com/ticket/3202 I ran into it myself and have been trying all kinds of things to work around it. Once you get enough rows in a table the default controls are no longer feasible. Have you looked into the raw_id_fields option? It wasn't an opti

custom Field for Model choice

2009-04-15 Thread Christopher Dodd
Once I populated my database with thousands and thousands of rows the widgets available for manipulating the data on the Admin site became virtually unusable. So I have written a custom forms.Field that is a simple TextField that maps to a (hopefully) unique char field on a Model. The Field valid

Re: How to use InlineModelAdmin for ManyToMany without an Intermediary model?

2009-04-10 Thread Christopher Dodd
I realized my question was just a bit off. What I really want is to create a TabularInline to edit the members relationship on the Group interface. This is what you get when you use an intermediary model, as well as the ability to edit the other members of that model. I could, of course, create

How to use InlineModelAdmin for ManyToMany without an Intermediary model?

2009-04-09 Thread Christopher Dodd
odels.CharField(max_length=128) members = models.ManyToManyField(Person) How would I create a TabularInline to edit the Groups on the Person interface? -- Christopher Dodd --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google