git://git.onelab.eu
/
plstackapi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
543d7f6
)
Fixed a typo
author
Sapan Bhatia
<gwsapan@gmail.com>
Wed, 24 Sep 2014 04:34:44 +0000
(
00:34
-0400)
committer
Sapan Bhatia
<gwsapan@gmail.com>
Wed, 24 Sep 2014 04:34:44 +0000
(
00:34
-0400)
planetstack/core/models/site.py
patch
|
blob
|
history
diff --git
a/planetstack/core/models/site.py
b/planetstack/core/models/site.py
index
df42edd
..
67f38aa
100644
(file)
--- a/
planetstack/core/models/site.py
+++ b/
planetstack/core/models/site.py
@@
-84,7
+84,7
@@
class DeploymentManager(PlCoreBaseManager):
if backend_type:
return parent_queryset.filter(Q(backend_type=backend_type)|Q(backend_type=None))
else:
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):
# deprecated in django 1.7 in favor of get_queryset().
def get_query_set(self):