o
    ¨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J ‚t| ddt ¡ jdœƒS )zRenders the home page.zapp/index.htmlz	Home Page)ÚtitleÚyear©Ú
isinstancer   r   r   Únowr   ©Úrequest© r   úD:\Django\XCMS_PIM\app\views.pyÚhome	   s   þýr   c                 C   ó(   t | tƒsJ ‚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   ó   ýýr   c                 C   r   )zRenders the about page.zapp/about.htmlZAboutz"Your application description page.r   r   r
   r   r   r   Úabout"   r   r   N)	Ú__doc__r   Údjango.shortcutsr   Údjango.httpr   r   r   r   r   r   r   r   Ú<module>   s    