o
    L¥Êhr  ã                   @   s„   d dl mZ d dlmZ d dlmZ d dlmZmZm	Z	 G dd„ dej
ƒZG dd„ dej
ƒZG d	d
„ d
ej
ƒZG dd„ dej
ƒZdS )é    )Úsitemaps©Úreverse)ÚQ)ÚBlogÚPageÚOldblogpagec                   @   ó$   e Zd ZdZdZdd„ Zdd„ ZdS )ÚStaticViewSitemapç      à?Údailyc                 C   s   dgS )NÚindex© ©Úselfr   r   ú0/var/www/html/wellsprings/wellsprings/sitemap.pyÚitems
   ó   zStaticViewSitemap.itemsc                 C   s   t |ƒS ©Nr   )r   Úitemr   r   r   Úlocation   s   zStaticViewSitemap.locationN)Ú__name__Ú
__module__Ú__qualname__ÚpriorityÚ
changefreqr   r   r   r   r   r   r
      ó
    r
   c                   @   r	   )ÚPageSitemapr   r   c                 C   ó
   t j ¡ S r   )r   ÚobjectsÚallr   r   r   r   r      ó   
zPageSitemap.itemsc                 C   ó   |j S r   ©Ú
created_on©r   Úobjr   r   r   Úlastmod   r   zPageSitemap.lastmodN©r   r   r   r   r   r   r'   r   r   r   r   r      r   r   c                   @   r	   )ÚBlogSitemapr   r   c                 C   r   r   )r   r   r    r   r   r   r   r      r!   zBlogSitemap.itemsc                 C   r"   r   r#   r%   r   r   r   r'   !   r   zBlogSitemap.lastmodNr(   r   r   r   r   r)      r   r)   c                   @   r	   )ÚOldblogpageSitemapr   r   c                 C   r   r   )r   r   r    r   r   r   r   r   (   r!   zOldblogpageSitemap.itemsc                 C   r"   r   r#   r%   r   r   r   r'   +   r   zOldblogpageSitemap.lastmodNr(   r   r   r   r   r*   $   r   r*   N)Údjango.contribr   Údjango.urlsr   Údjango.db.modelsr   Úschool.modelsr   r   r   ÚSitemapr
   r   r)   r*   r   r   r   r   Ú<module>   s    


