mirror of
https://github.com/netbox-community/netbox.git
synced 2025-07-28 03:16:25 -06:00
Fixes #1934: Fixed exception when rendering export template on an object type with custom fields assigned
This commit is contained in:
parent
54bd3cd851
commit
225f66f2a8
@ -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):
|
||||
|
Loading…
Reference in New Issue
Block a user