from django.contrib.sitemaps import Sitemap
from guardian.shortcuts import get_anonymous_user
from .models import Case


class CaseSitemap(Sitemap):

    def items(self):
        return Case.objects.all().for_user(get_anonymous_user())

579638fac54f2e891b8ea137f4f34f37b00407a5
<mask token>

<mask token>


class CaseSitemap(Sitemap):
    <mask token>

<mask token>


class CaseSitemap(Sitemap):

    def items(self):
        return Case.objects.all().for_user(get_anonymous_user())

from django.contrib.sitemaps import Sitemap
from guardian.shortcuts import get_anonymous_user
from .models import Case


class CaseSitemap(Sitemap):

    def items(self):
        return Case.objects.all().for_user(get_anonymous_user())
