o
    6]h²	  ã                   @   s®   d dl mZ ddlmZmZmZmZmZ G dd„ dejƒZ	e 
e¡G dd„ dejƒƒZe 
e¡G dd	„ d	ejƒƒZe 
e¡G d
d„ dejƒƒZe 
e¡G dd„ dejƒƒZdS )é    )Úadminé   )ÚNotificationÚNotificationCategoryÚNotificationTagÚNotificationTagRelationÚSiteStatisticc                   @   s   e Zd ZeZdZdZdZdS )ÚNotificationTagInliner   ÚTagÚTagsN)Ú__name__Ú
__module__Ú__qualname__r   ÚmodelÚextraÚverbose_nameÚverbose_name_plural© r   r   ú(/var/www/apihucms/notifications/admin.pyr	      s
    r	   c                   @   s   e Zd ZdZdZdZdS )ÚNotificationCategoryAdmin)ÚnameÚdescriptionÚ
color_code©r   N)r   r   r   Úlist_displayÚsearch_fieldsÚlist_filterr   r   r   r   r      s    r   c                	   @   sv   e Zd ZdZdZdZddiZdZegZ	ddd	ifd
ddifdddifdddifddddœfddddœffZ
dZdZdS )ÚNotificationAdmin)ÚtitleÚcategoryÚpriorityÚis_featuredÚ	is_activeÚpublished_dateÚ
created_at)r   r    r!   r"   r#   r$   )r   r   ÚcontentÚslug)r   )r$   Ú
updated_atúBasic InformationÚfields)r   r&   r   r%   ÚCategorization)r   r    zStatus & Visibility)r"   r!   r#   zAdditional Information)Úexternal_linkÚ
attachmentÚSEO)Úmeta_description)Úcollapse)r)   ÚclassesÚ
Timestampsr#   )z-published_datez-created_atN)r   r   r   r   r   r   Úprepopulated_fieldsÚreadonly_fieldsr	   ÚinlinesÚ	fieldsetsÚdate_hierarchyÚorderingr   r   r   r   r      s<    ÿÿÿÿþþïr   c                   @   s   e Zd ZdZdZdS )ÚNotificationTagAdminr   N)r   r   r   r   r   r   r   r   r   r8   @   s    r8   c                   @   s8   e Zd ZdZdZdZdZdZdddifd	dd
iffZdS )ÚSiteStatisticAdmin)r   ÚvalueÚorderr"   )r"   )r   r   )r;   r"   )r;   r   r(   r)   )r   r:   r   zDisplay Settings)Úiconr;   r"   N)	r   r   r   r   r   r   Úlist_editabler7   r5   r   r   r   r   r9   F   s    ÿÿür9   N)Údjango.contribr   Úmodelsr   r   r   r   r   ÚTabularInliner	   ÚregisterÚ
ModelAdminr   r   r8   r9   r   r   r   r   Ú<module>   s    )