Skip to content

Commit

Permalink
Fixes #1934: Fixed exception when rendering export template on an obj…
Browse files Browse the repository at this point in the history
…ect type with custom fields assigned
  • Loading branch information
jeremystretch committed Mar 1, 2018
1 parent 0476006 commit 4bb5268
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions netbox/utilities/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down

0 comments on commit 4bb5268

Please sign in to comment.