o
    ­Tïj)  ã                   @   s  d dl mZ d dlmZmZmZmZmZmZ ddl	m
Z
mZmZmZ ddlmZmZmZmZmZ G dd„ deejeƒZG dd	„ d	eejƒZG d
d„ dejƒZG dd„ dejƒZG dd„ dejƒZG dd„ dejƒZG dd„ dejƒZG dd„ dejƒZG dd„ dejƒZ G dd„ dejƒZ!dS )é    )Úgenerics)ÚAPIKeyAuthenticationÚDashboardTokenAuthenticationÚListAPIViewOnlyMixinÚMobileTokenAuthenticationÚStandardSetPaginationÚSubscriptionPlanMixiné   )ÚContentInformationÚContentInformationLanguageÚTargetAudienceÚContentObjective)Ú!ContentInformationSerializerBasicÚ$ContentInformationLanguageSerializerÚTargetAudienceSerializerÚContentObjectiveSerializerÚ"ContentInformationSerializerDetailc                   @   ó,   e Zd ZeZeegZej	 
¡  d¡ZeZdS )Ú ContentInformationListMobileViewÚidN)Ú__name__Ú
__module__Ú__qualname__r   Úpagination_classr   r   Úauthentication_classesr
   ÚobjectsÚallÚorder_byÚquerysetr   Úserializer_class© r    r    ú‚/var/www/snowflake_co_dev_github/snow_flake_back_end_deploy/mama_care_api/article/content_information/content_information_views.pyr      ó
    r   c                   @   ó&   e Zd ZeegZej ¡ Z	dZ
eZdS )Ú"ContentInformationDetailMobileViewr   N)r   r   r   r   r   r   r
   r   r   r   Úlookup_fieldr   r   r    r    r    r!   r$   !   ó
    
r$   c                   @   r   )Ú#ContentInformationListDashboardViewr   N)r   r   r   r   r   r   r   r   r
   r   r   r   r   r   r   r    r    r    r!   r'   (   r"   r'   c                   @   s.   e Zd ZeegZej ¡ Z	dZ
eZdd„ ZdS )Ú%ContentInformationDetailDashboardViewr   c                 C   s   | j jdkrtS | jS )NÚGET)ÚrequestÚmethodr   r   )Úselfr    r    r!   Úget_serializer_class5   s   z:ContentInformationDetailDashboardView.get_serializer_classN)r   r   r   r   r   r   r
   r   r   r   r%   r   r   r-   r    r    r    r!   r(   /   s    
r(   c                   @   r   )Ú+ContentInformationLanguageListDashboardViewr   N)r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r    r    r    r!   r.   ;   r"   r.   c                   @   r#   )Ú-ContentInformationLanguageDetailDashboardViewr   N)r   r   r   r   r   r   r   r   r   r   r%   r   r   r    r    r    r!   r/   B   r&   r/   c                   @   r   )ÚTargetAudienceListDashboardViewr   N)r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r    r    r    r!   r0   I   r"   r0   c                   @   r#   )Ú!TargetAudienceDetailDashboardViewr   N)r   r   r   r   r   r   r   r   r   r   r%   r   r   r    r    r    r!   r1   P   r&   r1   c                   @   r   )Ú!ContentObjectiveListDashboardViewr   N)r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r    r    r    r!   r2   W   r"   r2   c                   @   r#   )Ú#ContentObjectiveDetailDashboardViewr   N)r   r   r   r   r   r   r   r   r   r   r%   r   r   r    r    r    r!   r3   ^   r&   r3   N)"Úrest_frameworkr   Úcommon.viewsr   r   r   r   r   r   Úcontent_information_modelsr
   r   r   r   Úcontent_information_serializersr   r   r   r   r   ÚListAPIViewr   ÚRetrieveAPIViewr$   ÚListCreateAPIViewr'   ÚRetrieveUpdateDestroyAPIViewr(   r.   r/   r0   r1   r2   r3   r    r    r    r!   Ú<module>   s     	