3
Ã¢vb¼  ã               @   sH   d dl mZmZ d dlmZ d dlmZ d dlmZ G dd„ deƒZdS )é    )ÚredirectÚrender)ÚTemplateView)ÚPatent)ÚListViewc               @   s$   e Zd ZeZdZdZdZdd„ ZdS )ÚPatentListViewÚnameÚpatentzpatent.htmlc             C   s   t jjƒ jdƒ}|S )Nz-grant_date)r   ÚobjectsÚfilterÚorder_by)ÚselfÚqueryset© r   ú2/var/www/html/sandeepIITI/visitors/views/patent.pyÚget_queryset   s    zPatentListView.get_querysetN)r   )	Ú__name__Ú
__module__Ú__qualname__r   ÚmodelÚorderingÚcontext_object_nameÚtemplate_namer   r   r   r   r   r      s
   r   N)	Údjango.shortcutsr   r   Zdjango.views.genericr   Zvisitors.models.patentr   r   r   r   r   r   r   Ú<module>   s   