Skip to content

Commit ad1bd2a

Browse files
Rineeefuzzylogic2000
authored andcommitted
organisations/sitemaps: fixup for using the new access enum
1 parent 616a1b8 commit ad1bd2a

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

apps/organisations/sitemaps.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
from django.template.response import TemplateResponse
44
from django.urls import reverse
55

6+
from adhocracy4.projects.enums import Access
67
from adhocracy4.projects.models import Project
78

89
from .models import Organisation
@@ -100,7 +101,7 @@ def organisation_sitemap_projects(request, organisation_slug):
100101
organisation=organisation,
101102
is_archived=False,
102103
is_draft=False,
103-
is_public=True)
104+
access=Access.PUBLIC)
104105

105106
urls = []
106107
for project in projects:

0 commit comments

Comments
 (0)