o
    iríb"  ã                   @   s   G d d„ dƒZ dS )c                   @   s6   e Zd ZddhZdd„ Zdd„ Zdd„ Zdd
d„Zd	S )ÚRadiusRouterÚheliosÚcustomerc                 K   ó   |j j| jv r	dS d S ©NÚradius©Ú_metaÚ	app_labelÚroute_app_labels©ÚselfÚmodelÚhints© r   ú;C:\Users\DAVID\Desktop\project\apps\routers_db\dbrouters.pyÚdb_for_read   ó   zRadiusRouter.db_for_readc                 K   r   r   r   r   r   r   r   Údb_for_write	   r   zRadiusRouter.db_for_writec                 K   s$   |j j| jv s|j j| jv rdS d S )NTr   )r   Úobj1Úobj2r   r   r   r   Úallow_relation   s   ÿþzRadiusRouter.allow_relationNc                 K   s   || j v r	|dkS d S r   )r
   )r   Údbr	   Ú
model_namer   r   r   r   Úallow_migrate   s   
zRadiusRouter.allow_migrate)N)Ú__name__Ú
__module__Ú__qualname__r
   r   r   r   r   r   r   r   r   r      s    r   N)r   r   r   r   r   Ú<module>   s    