allow to disable listing
This commit is contained in:
parent
42050d069b
commit
25b91fb01b
6 changed files with 44 additions and 4 deletions
|
@ -5,7 +5,7 @@ from hub.services.models import ConsultingPartner, CloudProvider, Service
|
|||
|
||||
def partner_list(request):
|
||||
partners = (
|
||||
ConsultingPartner.objects.all()
|
||||
ConsultingPartner.objects.filter(disable_listing=False)
|
||||
.order_by("name")
|
||||
.prefetch_related("services", "cloud_providers")
|
||||
)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue