o
    Qg                     @   s0   d dl mZ d dlmZ d dlmZ dd ZdS )    )	timedelta)timezone)	Customersc                 C   s@   t  }|tdd }tjj| |djdddd d }|S )Ni  )days)batch__created_by__companyupdated__gte )passwordz-updated   )r   nowr   r   objectsfilterexcludeorder_by)companycurrent_datetimetwo_years_agorecently_updated_customers r   J/var/www/rescue_company/website/company_view/recently_updated_customers.pyget_recently_updated_customers	   s   &r   N)datetimer   django.utilsr   accounts.modelsr   r   r   r   r   r   <module>   s    