Skip to content
Snippets Groups Projects
Commit 2c75fd04 authored by jan.bednarik's avatar jan.bednarik
Browse files

majak: Exclude default from sites list

parent 05ca0696
Branches
No related tags found
2 merge requests!538majak: Exclude default from sites list,!537majak: Exclude default from sites list
Pipeline #8333 passed
......@@ -11,6 +11,7 @@ class SitesListView(TemplateView):
context = super().get_context_data(**kwargs)
sites = list(
Site.objects.exclude(hostname__contains=".pir-test.eu")
.exclude(hostname="default")
.select_related("root_page")
.order_by("root_page__title")
)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment