Deployment filtering for deployment objects
authorSapan Bhatia <gwsapan@gmail.com>
Mon, 22 Sep 2014 18:54:10 +0000 (14:54 -0400)
committerSapan Bhatia <gwsapan@gmail.com>
Mon, 22 Sep 2014 18:54:10 +0000 (14:54 -0400)
planetstack/core/models/site.py

index a5cea69..39eb538 100644 (file)
@@ -132,6 +132,8 @@ class SitePrivilege(PlCoreBase):
         return qs
 
 class Deployment(PlCoreBase):
+    objects = DeploymentManager()
+    deleted_objects = DeploymentDeletionManager()
     name = models.CharField(max_length=200, unique=True, help_text="Name of the Deployment")
     admin_user = models.CharField(max_length=200, null=True, blank=True, help_text="Username of an admin user at this deployment")
     admin_password = models.CharField(max_length=200, null=True, blank=True, help_text="Password of theadmin user at this deployment")\r