Skip to content

Redis#304

Open
elpiankova wants to merge 2 commits intodevfrom
redis
Open

Redis#304
elpiankova wants to merge 2 commits intodevfrom
redis

Conversation

@elpiankova
Copy link
Copy Markdown
Member

No description provided.

@elpiankova elpiankova requested a review from gloriajjl May 10, 2019 16:16
# TODO: playground code for the alpha REFACTOR
# TODO: create a proper filterset
# TODO: make use of Q() to help django understand the request
@method_decorator(cache_page(CACHE_TTL), name='dispatch')
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

це виходить єдиний клас в коді, результати роботи якого кешуються, так?

queryset = models.Session.objects.all()
serializer_class = serializer.SessionsSerializer
filter_class = SessionFilter
# TODO: reenable, breaks cache because it returns generators
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

хотілося би більше інформації по цьому. Що тут не так, і що треба доробити?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants