From f019c8d2ce5209079087bf9bc30bcae24d409143 Mon Sep 17 00:00:00 2001 From: Jeremy Stretch Date: Fri, 24 Apr 2020 11:31:01 -0400 Subject: [PATCH] Fixes #4527: Fix assignment of certain tags to config contexts --- docs/release-notes/version-2.8.md | 4 ++++ netbox/extras/forms.py | 1 - 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/docs/release-notes/version-2.8.md b/docs/release-notes/version-2.8.md index ddc86316d..c2dd7ba80 100644 --- a/docs/release-notes/version-2.8.md +++ b/docs/release-notes/version-2.8.md @@ -7,6 +7,10 @@ * [#3294](https://github.com/netbox-community/netbox/issues/3294) - Implement mechanism for storing user preferences * [#4531](https://github.com/netbox-community/netbox/issues/4531) - Retain user's pagination preference +### Bug Fixes + +* [#4527](https://github.com/netbox-community/netbox/issues/4527) - Fix assignment of certain tags to config contexts + --- ## v2.8.1 (2020-04-23) diff --git a/netbox/extras/forms.py b/netbox/extras/forms.py index 7ec9d2285..676d7ceba 100644 --- a/netbox/extras/forms.py +++ b/netbox/extras/forms.py @@ -229,7 +229,6 @@ class ConfigContextForm(BootstrapMixin, forms.ModelForm): ) tags = DynamicModelMultipleChoiceField( queryset=Tag.objects.all(), - to_field_name='slug', required=False ) data = JSONField(