Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
ICS Control System Infrastructure
Netbox
Commits
82e3739d
Commit
82e3739d
authored
Mar 05, 2021
by
Daniel Sheppard
Browse files
Remove stray Secrets reference
parent
cd318e9c
Changes
1
Hide whitespace changes
Inline
Side-by-side
netbox/netbox/views/__init__.py
View file @
82e3739d
...
...
@@ -79,9 +79,6 @@ class HomeView(View):
'provider_count'
:
Provider
.
objects
.
restrict
(
request
.
user
,
'view'
).
count
(),
'circuit_count'
:
Circuit
.
objects
.
restrict
(
request
.
user
,
'view'
).
count
(),
# Secrets
'secret_count'
:
Secret
.
objects
.
restrict
(
request
.
user
,
'view'
).
count
(),
# Virtualization
'cluster_count'
:
Cluster
.
objects
.
restrict
(
request
.
user
,
'view'
).
count
(),
'virtualmachine_count'
:
VirtualMachine
.
objects
.
restrict
(
request
.
user
,
'view'
).
count
(),
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment