views:

264

answers:

1

Which is the widget that renders the foreign key in the admin site?

I saw that there is a widget called RelatedFieldWidgetWrapper (that print only the "+" icon) and another for the select, but I suppose that there is a widget that call both to render the entire field.

Thanks

+1  A: 

RelatedFieldWidgetWrapper just wraps default widget, in this case Select widget.

Dmitry Shevchenko