On 6/19/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > Hi, I've been trying this out as the new inline functionality in > newforms-admin branch but I've found one problem: raw_id_admin fields > aren't rendered correctly in inline fields. They are still rendered as > select widgets. > > Is this a known issue that is being worked on?
Yep. None of the javascript stuff really works right now. The calendar and picker widgets for date and time fields, for instance, are broken. The configuration will be different for raw_id fields as well. For example: class MyModelAdmin(models.ModelAdmin): inlines = [StackedInline(MyModel, raw_id_fields=('field1', 'field2'))] That code doesn't work yet, but that will probably be how to do it. Christian Metts is helping me out with some template changes to make things look nicer now that each object has a deletion checkbox. Once I get his work integrated, I'll start on stuff like raw_id fields. If you want to file a ticket against newforms-admin, that would be great. Thanks for testing it out. Joseph --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django developers" group. To post to this group, send email to django-developers@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-developers?hl=en -~----------~----~----~----~------~----~------~--~---