U
    Vc                     @   sH   d dl mZ d dlmZ d dlmZ ddlmZ eeeddd Zd	S )
    )	post_save)receiver)timezone   )Question)senderc                 K   s    |j rt |j _|j   d S )N)question_bankr   nowmodified_atsave)r   instancekwargs r   ,/var/www/wikiazma_server/question/signals.py update_question_bank_modified_at   s    r   N)	Zdjango.db.models.signalsr   django.dispatchr   django.utilsr   modelsr   r   r   r   r   r   <module>   s
   
