mirror of
https://github.com/django/django.git
synced 2025-10-26 23:26:08 +00:00
Fixed #14402 -- Removed clearing of help_text for ManyToManyField's raw_id_fields.
This commit is contained in:
committed by
Tim Graham
parent
9644e2e968
commit
c79852acee
@@ -242,7 +242,6 @@ class BaseModelAdmin(six.with_metaclass(forms.MediaDefiningClass)):
|
||||
if db_field.name in self.raw_id_fields:
|
||||
kwargs['widget'] = widgets.ManyToManyRawIdWidget(db_field.remote_field,
|
||||
self.admin_site, using=db)
|
||||
kwargs['help_text'] = ''
|
||||
elif db_field.name in (list(self.filter_vertical) + list(self.filter_horizontal)):
|
||||
kwargs['widget'] = widgets.FilteredSelectMultiple(
|
||||
db_field.verbose_name,
|
||||
|
||||
Reference in New Issue
Block a user