1
0
mirror of https://github.com/netbox-community/netbox.git synced 2024-05-10 07:54:54 +00:00

Closes: #5278 - Remove Secrets (#6397)

* Remove Secrets

* #5278: Remove secrets javascript from netbox core

* Remove userkey references

* Fix PEP8

* Remove a few more instances of secrets.  Rebundle

* Remove Secrets

Co-authored-by: checktheroads <matt@allroads.io>
This commit is contained in:
Daniel Sheppard
2021-05-17 15:26:02 -05:00
committed by GitHub
parent dc5c765c2a
commit 744792452f
97 changed files with 35 additions and 3731 deletions

View File

@ -284,12 +284,6 @@ class VirtualMachine(PrimaryModel, ConfigContextModel):
comments = models.TextField(
blank=True
)
secrets = GenericRelation(
to='secrets.Secret',
content_type_field='assigned_object_type',
object_id_field='assigned_object_id',
related_query_name='virtual_machine'
)
objects = ConfigContextModelQuerySet.as_manager()