Skip to content

Commit

Permalink
Merge pull request #1664 from wanglf/develop
Browse files Browse the repository at this point in the history
Fixed #1612 missing field 'serial' in function to_csv()
  • Loading branch information
jeremystretch authored Oct 31, 2017
2 parents bbd0761 + d08bc77 commit 5e734fc
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions netbox/dcim/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -296,6 +296,7 @@ def to_csv(self):
self.tenant.name if self.tenant else None,
self.role.name if self.role else None,
self.get_type_display() if self.type else None,
self.serial,
self.width,
self.u_height,
self.desc_units,
Expand Down

0 comments on commit 5e734fc

Please sign in to comment.