mirror of
https://github.com/netbox-community/netbox.git
synced 2024-05-10 07:54:54 +00:00
12594 add config context to object count / list widget
This commit is contained in:
@ -35,7 +35,8 @@ def get_content_type_labels():
|
|||||||
return [
|
return [
|
||||||
(content_type_identifier(ct), content_type_name(ct))
|
(content_type_identifier(ct), content_type_name(ct))
|
||||||
for ct in ContentType.objects.filter(
|
for ct in ContentType.objects.filter(
|
||||||
FeatureQuery('export_templates').get_query() | Q(app_label='extras', model='objectchange')
|
FeatureQuery('export_templates').get_query() | Q(app_label='extras', model='objectchange') |
|
||||||
|
Q(app_label='extras', model='configcontext')
|
||||||
).order_by('app_label', 'model')
|
).order_by('app_label', 'model')
|
||||||
]
|
]
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user