Fixed a typo
authorSapan Bhatia <gwsapan@gmail.com>
Wed, 24 Sep 2014 04:34:44 +0000 (00:34 -0400)
committerSapan Bhatia <gwsapan@gmail.com>
Wed, 24 Sep 2014 04:34:44 +0000 (00:34 -0400)
planetstack/core/models/site.py

index df42edd..67f38aa 100644 (file)
@@ -84,7 +84,7 @@ class DeploymentManager(PlCoreBaseManager):
         if backend_type:
             return parent_queryset.filter(Q(backend_type=backend_type)|Q(backend_type=None))
         else:
-            return parent_queryset.filter(Q(backend_type=backend_type)|Q(backend_type=None))
+            return parent_queryset
 
     # deprecated in django 1.7 in favor of get_queryset().
     def get_query_set(self):