コード例 #1
0
class DetailKeyConstructor(DefaultKeyConstructor):
    format = bits.FormatKeyBit()
    language = bits.LanguageKeyBit()
    retrieve_sql_query = bits.RetrieveSqlQueryKeyBit()
    unique_view_id = bits.UniqueViewIdKeyBit()
    user = bits.UserKeyBit()
    updated_at = UpdatedAtKeyBit("api_updated_profile")
コード例 #2
0
class PagingPrivatePostListKeyConstructor(DefaultKeyConstructor):
    pagination = DJRF3xPaginationKeyBit()
    search = bits.QueryParamsKeyBit(['ordering'])
    list_sql_query = bits.ListSqlQueryKeyBit()
    unique_view_id = bits.UniqueViewIdKeyBit()
    user = bits.UserKeyBit()
    updated_at = UpdatedAtKeyBit('api_updated_post')
コード例 #3
0
class PagingSearchListKeyConstructor(DefaultKeyConstructor):
    pagination = DJRF3xPaginationKeyBit()
    search = bits.QueryParamsKeyBit(["search"])
    list_sql_query = bits.ListSqlQueryKeyBit()
    unique_view_id = bits.UniqueViewIdKeyBit()
    user = bits.UserKeyBit()
    updated_at = UpdatedAtKeyBit("api_updated_profile")
コード例 #4
0
class PagingNotificationListKeyConstructor(DefaultKeyConstructor):
    pagination = DJRF3xPaginationKeyBit()
    search = bits.QueryParamsKeyBit(["search", "ordering", "type"])
    list_sql_query = bits.ListSqlQueryKeyBit()
    unique_view_id = bits.UniqueViewIdKeyBit()
    user = bits.UserKeyBit()
    updated_at = UpdatedAtKeyBit("api_updated_notification")
コード例 #5
0
class ImageDetailKeyConstructor(DetailKeyConstructor):
    user = bits.UserKeyBit()
    updated_at = UpdatedAtKeyBit("api_updated_image")
コード例 #6
0
class PagingImageListKeyConstructor(PagingListKeyConstructor):
    search = bits.QueryParamsKeyBit(["search", "ordering"])
    user = bits.UserKeyBit()
    updated_at = UpdatedAtKeyBit("api_updated_image")
コード例 #7
0
class GalleryDetailKeyConstructor(DetailKeyConstructor):
    user = bits.UserKeyBit()
    updated_at = UpdatedAtKeyBit("api_updated_gallery")
コード例 #8
0
class MyDetailKeyConstructor(DefaultKeyConstructor):
    format = bits.FormatKeyBit()
    language = bits.LanguageKeyBit()
    user = bits.UserKeyBit()
    updated_at = UpdatedAtKeyBit("api_updated_profile")
コード例 #9
0
ファイル: views.py プロジェクト: srhrshr/zds-site
class PagingSearchListKeyConstructor(DefaultKeyConstructor):
    pagination = DJRF3xPaginationKeyBit()
    search = bits.QueryParamsKeyBit(['search'])
    list_sql_query = bits.ListSqlQueryKeyBit()
    unique_view_id = bits.UniqueViewIdKeyBit()
    updated_at = UpdatedAtKeyBit('api_updated_tag')
コード例 #10
0
ファイル: views.py プロジェクト: leroivi/zds-site
class PrivateTopicDetailKeyConstructor(DetailKeyConstructor):
    updated_at = UpdatedAtKeyBit("api_updated_topic")
コード例 #11
0
ファイル: views.py プロジェクト: leroivi/zds-site
class PagingNotificationListKeyConstructor(DefaultKeyConstructor):
    pagination = DJRF3xPaginationKeyBit()
    unique_view_id = bits.UniqueViewIdKeyBit()
    user = bits.UserKeyBit()
    updated_at = UpdatedAtKeyBit("api_updated_notification")
コード例 #12
0
ファイル: views.py プロジェクト: leroivi/zds-site
class PagingPrivatePostListKeyConstructor(PagingListKeyConstructor):
    search = bits.QueryParamsKeyBit(["ordering"])
    user = bits.UserKeyBit()
    updated_at = UpdatedAtKeyBit("api_updated_post")
コード例 #13
0
ファイル: views.py プロジェクト: leroivi/zds-site
class PagingPrivateTopicListKeyConstructor(PagingListKeyConstructor):
    search = bits.QueryParamsKeyBit(["search", "ordering"])
    user = bits.UserKeyBit()
    updated_at = UpdatedAtKeyBit("api_updated_topic")
コード例 #14
0
ファイル: views.py プロジェクト: tuxmania/site-app
class PagingPrivateTopicListKeyConstructor(PagingListKeyConstructor):
    search = bits.QueryParamsKeyBit(['search', 'ordering'])
    user = bits.UserKeyBit()
    updated_at = UpdatedAtKeyBit('api_updated_topic')
コード例 #15
0
class PagingParticipantListKeyConstructor(PagingListKeyConstructor):
    search = bits.QueryParamsKeyBit(["ordering"])
    user = bits.UserKeyBit()
    updated_at = UpdatedAtKeyBit("api_updated_user_gallery")
コード例 #16
0
ファイル: views.py プロジェクト: leroivi/zds-site
class PrivatePostDetailKeyConstructor(DetailKeyConstructor):
    updated_at = UpdatedAtKeyBit("api_updated_post")
コード例 #17
0
class ParticipantDetailKeyConstructor(DetailKeyConstructor):
    user = bits.UserKeyBit()
    updated_at = UpdatedAtKeyBit("api_updated_user_gallery")
コード例 #18
0
ファイル: views.py プロジェクト: tuxmania/site-app
class PagingImageListKeyConstructor(PagingListKeyConstructor):
    search = bits.QueryParamsKeyBit(['search', 'ordering'])
    user = bits.UserKeyBit()
    updated_at = UpdatedAtKeyBit('api_updated_image')