Deployment filtering for UserDeployment objects
diff --git a/planetstack/core/models/userdeployments.py b/planetstack/core/models/userdeployments.py
index 3422156..5685668 100644
--- a/planetstack/core/models/userdeployments.py
+++ b/planetstack/core/models/userdeployments.py
@@ -4,8 +4,12 @@
from django.db import models
from django.db.models import F, Q
from core.models import PlCoreBase,Site,User,Deployment
+from core.models import Deployment,DeploymentLinkManager,DeploymentLinkDeletionManager
class UserDeployments(PlCoreBase):
+ objects = DeploymentLinkManager()
+ deleted_objects = DeploymentLinkDeletionManager()
+
user = models.ForeignKey(User)
deployment = models.ForeignKey(Deployment)
kuser_id = models.CharField(null=True, blank=True, max_length=200, help_text="Keystone user id")