mirror of
https://github.com/netbox-community/netbox.git
synced 2025-07-23 04:22:01 -06:00
Fixes #1934: Fixed exception when rendering export template on an object type with custom fields assigned
This commit is contained in:
parent
0476006ef2
commit
4bb526896f
@ -35,6 +35,7 @@ class CustomFieldQueryset:
|
|||||||
|
|
||||||
def __init__(self, queryset, custom_fields):
|
def __init__(self, queryset, custom_fields):
|
||||||
self.queryset = queryset
|
self.queryset = queryset
|
||||||
|
self.model = queryset.model
|
||||||
self.custom_fields = custom_fields
|
self.custom_fields = custom_fields
|
||||||
|
|
||||||
def __iter__(self):
|
def __iter__(self):
|
||||||
|
Loading…
Reference in New Issue
Block a user