Jeremy Stretch 6 ani în urmă
părinte
comite
d4789b7c9e
2 a modificat fișierele cu 1 adăugiri și 1 ștergeri
  1. 1 0
      docs/release-notes/version-2.7.md
  2. 0 1
      netbox/utilities/forms.py

+ 1 - 0
docs/release-notes/version-2.7.md

@@ -13,6 +13,7 @@
 * [#4090](https://github.com/netbox-community/netbox/issues/4090) - Render URL custom fields as links under object view
 * [#4091](https://github.com/netbox-community/netbox/issues/4091) - Fix filtering of objects by custom fields using UI search form
 * [#4099](https://github.com/netbox-community/netbox/issues/4099) - Linkify interfaces on global interfaces list
+* [#4108](https://github.com/netbox-community/netbox/issues/4108) - Avoid extraneous database queries when rendering search forms
 
 # v2.7.4 (2020-02-04)
 

+ 0 - 1
netbox/utilities/forms.py

@@ -9,7 +9,6 @@ from django.conf import settings
 from django.contrib.postgres.forms.jsonb import JSONField as _JSONField, InvalidJSONInput
 from django.db.models import Count
 from django.forms import BoundField
-from mptt.forms import TreeNodeMultipleChoiceField
 
 from .choices import unpack_grouped_choices
 from .constants import *