B
    kåa¹  ã               @   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)ÚPatents)ÚListViewc               @   s$   e Zd ZeZdZdZdZdd„ ZdS )ÚPatentsListView)ÚnameÚpatentszpatents.htmlc             C   s   t j ¡ }|S )N)r   ÚobjectsÚfilter)ÚselfÚqueryset© r   ú?C:\Project\professor_site\sandeepiiti\visitors\views\patents.pyÚget_queryset   s    
zPatentsListView.get_querysetN)	Ú__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.patentsr   r   r   r   r   r   r   Ú<module>   s   