1
0
mirror of https://github.com/netbox-community/netbox.git synced 2024-05-10 07:54:54 +00:00

Fixes #1934: Fixed exception when rendering export template on an object type with custom fields assigned

This commit is contained in:
Jeremy Stretch
2018-03-01 12:37:12 -05:00
parent 0476006ef2
commit 4bb526896f

View File

@@ -35,6 +35,7 @@ class CustomFieldQueryset:
def __init__(self, queryset, custom_fields):
self.queryset = queryset
self.model = queryset.model
self.custom_fields = custom_fields
def __iter__(self):