-
- def get_form(self, request, obj=None, **kwargs):
- """
- Ensures that the form's proxy fields are included in its base fields.
- This will not be required after http://code.djangoproject.com/ticket/14082 has been resolved
- """
- form = super(EntityAdmin, self).get_form(request, obj, **kwargs)
- form.base_fields.update(form.proxy_fields)
- return form