U
    ªh½c#  ã                   @   sD   d Z ddlmZ ddlmZ ddlmZ dd„ Zdd„ Zd	d
„ ZdS )z
Definition of views.
é    )Údatetime)Úrender)ÚHttpRequestc                 C   s&   t | tƒst‚t| ddt ¡ jdœƒS )zRenders the home page.zapp/index.htmlz	Home Page)ÚtitleÚyear©Ú
isinstancer   ÚAssertionErrorr   r   Únowr   ©Úrequest© r   ú0C:\Users\offic\Desktop\PIM\XCMS_PIM\app\views.pyÚhome	   s    þýr   c                 C   s(   t | tƒst‚t| dddt ¡ jdœƒS )zRenders the contact page.zapp/contact.htmlZContactzYour contact page.©r   Úmessager   r   r   r   r   r   Úcontact   s    ýýr   c                 C   s(   t | tƒst‚t| dddt ¡ jdœƒS )zRenders the about page.zapp/about.htmlZAboutz"Your application description page.r   r   r   r   r   r   Úabout"   s    ýýr   N)	Ú__doc__r   Zdjango.shortcutsr   Údjango.httpr   r   r   r   r   r   r   r   Ú<module>   s   