
    Nwg                     p   d dl mZ d dlmZ d dlmZ d dlmZ  G d dej                        Z	 G d dej                        Z
 G d	 d
ej                        Z G d dej                        Z G d dej                        Z eedd        G d dej                        Z G d dej                        Zy)    )models)register)HistoricalRecords)
CustomUserc                   2    e Zd Z ed      Z G d d      Zy)AbstractExternalT)inheritc                       e Zd ZdZy)AbstractExternal.MetaTN)__name__
__module____qualname__abstract     [/var/www/horilla/myenv/lib/python3.12/site-packages/simple_history/tests/external/models.pyMetar      s    r   r   Nr   r   r   r   historyr   r   r   r   r   r      s    -G r   r   c                   6    e Zd Z edd       Z G d d      Zy)AbstractExternal2Tc                     d|  S NAuditr   xs    r   <lambda>zAbstractExternal2.<lambda>   s    ERSQT+ r   )r	   custom_model_namec                       e Zd ZdZdZy)AbstractExternal2.MetaTexternalNr   r   r   r   	app_labelr   r   r   r   r           	r   r   Nr   r   r   r   r   r      s    @UVG r   r   c                   8    e Zd Z eddd       Z G d d      Zy)AbstractExternal3Tr!   c                     d|  S r   r   r   s    r   r   zAbstractExternal3.<lambda>   s    E!+ r   )r	   appr   c                       e Zd ZdZdZy)AbstractExternal3.MetaTr!   Nr"   r   r   r   r   r*      r$   r   r   Nr   r   r   r   r&   r&      s    *8MG r   r&   c                   @    e Zd Z ej                  d      Z e       Zy)ExternalModeld   
max_lengthN)r   r   r   r   	CharFieldnamer   r   r   r   r   r,   r,   !   s    6s+D!Gr   r,   c                   2    e Zd Z ej                  d      Zy)ExternalModelRegisteredr-   r.   N)r   r   r   r   r0   r1   r   r   r   r3   r3   &   s    6s+Dr   r3   zsimple_history.tests	histories)r(   manager_namec                   f    e Zd Z ej                  d      Z e ej                  d            Zy)"ExternalModelWithCustomUserIdFieldr-   r.   T)null)history_user_id_fieldN)	r   r   r   r   r0   r1   r   IntegerFieldr   r   r   r   r7   r7   -   s,    6s+D6If6I6It6TUGr   r7   c                   "    e Zd ZdZ ed      Zy)PollzTest model for same-named historical models

    This model intentionally conflicts with the 'Polls' model in 'tests.models'.
    +)user_related_nameN)r   r   r   __doc__r   r   r   r   r   r<   r<   2   s    
  #6Gr   r<   N)	django.dbr   simple_historyr   simple_history.modelsr   'simple_history.tests.custom_user.modelsr   Modelr   r   r&   r,   r3   r7   r<   r   r   r   <module>rE      s     # 3 >v||   "FLL "
,fll , 		 &<; WV V
76<< 7r   