o
    g                     @   s0   d dl mZ d dlmZmZ G dd deZdS )    )Sitemap)DevelopmentDevelopmentTranslatec                   @   s4   e Zd ZdZdZdZdZdd Zdd Zd	d
 Z	dS )DevelopmentSitemapdailyg?httpsi  c                 C   s   t jjdddS )NTF)development__is_activedevelopment__is_deleted)r   objectsfilter)self r   5/var/www/Entralon-Web-Backend/development/sitemaps.pyitems   s   zDevelopmentSitemap.itemsc                 C   s   |j S )N)
updated_atr   objr   r   r   lastmod   s   zDevelopmentSitemap.lastmodc                 C   s   d|j j d|jj S )N/z
/property-)languagecodedevelopmentslugr   r   r   r   location   s   zDevelopmentSitemap.locationN)
__name__
__module____qualname__
changefreqpriorityprotocollimitr   r   r   r   r   r   r   r      s    r   N)django.contrib.sitemapsr   development.modelsr   r   r   r   r   r   r   <module>   s    