from django.contrib.sitemaps import Sitemap
from realestate.listing.models import Listing


class ListingSitemap(Sitemap):
    changefreq = 'monthly'
    priority = 0.5

    def items(self):
        return Listing.objects.active()

    def lastmod(self, obj):
        return obj.last_modified

b629a3e359a095a6dce52c5264bd8daa6bdc7ce0
<mask token>


class ListingSitemap(Sitemap):
    <mask token>
    <mask token>
    <mask token>

    def lastmod(self, obj):
        return obj.last_modified

<mask token>


class ListingSitemap(Sitemap):
    <mask token>
    <mask token>

    def items(self):
        return Listing.objects.active()

    def lastmod(self, obj):
        return obj.last_modified

<mask token>


class ListingSitemap(Sitemap):
    changefreq = 'monthly'
    priority = 0.5

    def items(self):
        return Listing.objects.active()

    def lastmod(self, obj):
        return obj.last_modified

from django.contrib.sitemaps import Sitemap
from realestate.listing.models import Listing


class ListingSitemap(Sitemap):
    changefreq = 'monthly'
    priority = 0.5

    def items(self):
        return Listing.objects.active()

    def lastmod(self, obj):
        return obj.last_modified
