mirror of
https://github.com/netbox-community/netbox.git
synced 2025-08-24 00:15:17 -06:00
change name field from @property to @classproperty
This commit is contained in:
parent
786f0cc7f3
commit
6100cea251
@ -120,7 +120,7 @@ class Report(object):
|
|||||||
def full_name(self):
|
def full_name(self):
|
||||||
return f'{self.module}.{self.class_name}'
|
return f'{self.module}.{self.class_name}'
|
||||||
|
|
||||||
@property
|
@classproperty
|
||||||
def name(self):
|
def name(self):
|
||||||
"""
|
"""
|
||||||
Override this attribute to set a custom display name.
|
Override this attribute to set a custom display name.
|
||||||
|
Loading…
Reference in New Issue
Block a user