예제 #1
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")
예제 #2
0
class DetailKeyConstructor(DefaultKeyConstructor):
    """Keys for a detail api view"""
    format = bits.FormatKeyBit()
    language = bits.LanguageKeyBit()
    retrieve_sql_query = bits.RetrieveSqlQueryKeyBit()
    unique_view_id = bits.UniqueViewIdKeyBit()
    user = bits.UserKeyBit()
예제 #3
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")
예제 #4
0
class PagingListKeyConstructor(DefaultKeyConstructor):
    """Keys for a list api view"""

    pagination = DJRF3xPaginationKeyBit()
    unique_view_id = bits.UniqueViewIdKeyBit()
    list_sql_query = bits.ListSqlQueryKeyBit()
    user = bits.UserKeyBit()
예제 #5
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")
예제 #6
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')
예제 #7
0
class HubsPerUserKeyConstructor(KeyConstructor):
    unique_method_id = bits.UniqueMethodIdKeyBit()
    unique_view_id = bits.UniqueViewIdKeyBit()
    format = bits.FormatKeyBit()
    language = bits.LanguageKeyBit()
    query_params = bits.QueryParamsKeyBit()
    pagination = bits.PaginationKeyBit()
    user = bits.UserKeyBit()
예제 #8
0
class GalleryDetailKeyConstructor(DetailKeyConstructor):
    user = bits.UserKeyBit()
    updated_at = UpdatedAtKeyBit("api_updated_gallery")
예제 #9
0
파일: views.py 프로젝트: tuxmania/site-app
class PagingImageListKeyConstructor(PagingListKeyConstructor):
    search = bits.QueryParamsKeyBit(['search', 'ordering'])
    user = bits.UserKeyBit()
    updated_at = UpdatedAtKeyBit('api_updated_image')
예제 #10
0
class MyDetailKeyConstructor(DefaultKeyConstructor):
    format = bits.FormatKeyBit()
    language = bits.LanguageKeyBit()
    user = bits.UserKeyBit()
    updated_at = UpdatedAtKeyBit("api_updated_profile")
예제 #11
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()
예제 #12
0
파일: views.py 프로젝트: tuxmania/site-app
class PagingPrivateTopicListKeyConstructor(PagingListKeyConstructor):
    search = bits.QueryParamsKeyBit(['search', 'ordering'])
    user = bits.UserKeyBit()
    updated_at = UpdatedAtKeyBit('api_updated_topic')
예제 #13
0
class RecipeListKeyConstructor(CookingNutritiousListKeyConstructor):
    user = bits.UserKeyBit()
예제 #14
0
class RecipeRetrieveKeyConstructor(CookingNutritiousRetrieveKeyConstructor):
    user = bits.UserKeyBit()
예제 #15
0
class ContestTaskListKeyConstructor(DefaultKeyConstructor):
    user_bit = bits.UserKeyBit()
    args_bit = bits.ArgsKeyBit()
    kwargs_bit = bits.KwargsKeyBit()
예제 #16
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")
예제 #17
0
class PagingParticipantListKeyConstructor(PagingListKeyConstructor):
    search = bits.QueryParamsKeyBit(["ordering"])
    user = bits.UserKeyBit()
    updated_at = UpdatedAtKeyBit("api_updated_user_gallery")
예제 #18
0
class PagingImageListKeyConstructor(PagingListKeyConstructor):
    search = bits.QueryParamsKeyBit(["search", "ordering"])
    user = bits.UserKeyBit()
    updated_at = UpdatedAtKeyBit("api_updated_image")
예제 #19
0
class CurrentUserRetrieveKeyConstructor(KeyConstructor):
    user = bits.UserKeyBit()
    updated_at = UpdatedAtModelKeyBit()
    format = bits.FormatKeyBit()
예제 #20
0
class MyDetailKeyConstructor(DefaultKeyConstructor):
    format = bits.FormatKeyBit()
    language = bits.LanguageKeyBit()
    user = bits.UserKeyBit()
예제 #21
0
class PagingPrivateTopicUnreadListKeyConstructor(DefaultKeyConstructor):
    pagination = DJRF3xPaginationKeyBit()
    unique_view_id = bits.UniqueViewIdKeyBit()
    user = bits.UserKeyBit()
예제 #22
0
class ImageDetailKeyConstructor(DetailKeyConstructor):
    user = bits.UserKeyBit()
    updated_at = UpdatedAtKeyBit("api_updated_image")
예제 #23
0
파일: views.py 프로젝트: leroivi/zds-site
class PagingPrivateTopicListKeyConstructor(PagingListKeyConstructor):
    search = bits.QueryParamsKeyBit(["search", "ordering"])
    user = bits.UserKeyBit()
    updated_at = UpdatedAtKeyBit("api_updated_topic")
예제 #24
0
class ParticipantDetailKeyConstructor(DetailKeyConstructor):
    user = bits.UserKeyBit()
    updated_at = UpdatedAtKeyBit("api_updated_user_gallery")
예제 #25
0
파일: views.py 프로젝트: leroivi/zds-site
class PagingPrivatePostListKeyConstructor(PagingListKeyConstructor):
    search = bits.QueryParamsKeyBit(["ordering"])
    user = bits.UserKeyBit()
    updated_at = UpdatedAtKeyBit("api_updated_post")