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')
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")
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")
class PagingListKeyConstructor(DefaultKeyConstructor): """Keys for a list api view""" pagination = DJRF3xPaginationKeyBit() unique_view_id = bits.UniqueViewIdKeyBit() list_sql_query = bits.ListSqlQueryKeyBit() user = bits.UserKeyBit()
class PagingNotificationListKeyConstructor(DefaultKeyConstructor): pagination = DJRF3xPaginationKeyBit() search = bits.QueryParamsKeyBit(['search', 'ordering', 'type']) list_sql_query = bits.ListSqlQueryKeyBit() unique_view_id = bits.UniqueViewIdKeyBit() user = bits.UserKeyBit()
class PagingNotificationListKeyConstructor(DefaultKeyConstructor): pagination = DJRF3xPaginationKeyBit() unique_view_id = bits.UniqueViewIdKeyBit() user = bits.UserKeyBit() updated_at = UpdatedAtKeyBit("api_updated_notification")
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')