Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RA - Pagination #553

Open
rtrembecky opened this issue Dec 17, 2024 · 1 comment
Open

RA - Pagination #553

rtrembecky opened this issue Dec 17, 2024 · 1 comment

Comments

@rtrembecky
Copy link
Collaborator

rtrembecky commented Dec 17, 2024

aktualne query v https://test.strom.sk/admin#/competition/semester trva cez 6 sekund a taha 634 kB, co neni uplne akceptovatelne... ked ides priamo na https://test.strom.sk/api/competition/semester/?search=&ordering=id, co sa taha, ukaze to v networku az 1.2 MB (ale taha sa iny content type, HTML miesto JSON).

BE uz pripravil pagination, ale asi to bude vracat uplne ine datove struktury, nie jednoduchy list objektov... treba na to admina pripravit (zmeny snad len v dataProvider.ts)

https://www.django-rest-framework.org/api-guide/pagination/

@rtrembecky rtrembecky modified the milestones: 2.1, 3.0 Dec 17, 2024
@rtrembecky
Copy link
Collaborator Author

dal som do 3.0, lebo nejak sa fungovat da, ale je to velky quality-of-life improvement a mozno by sme mali BE zatazovat menej... 😄

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

No branches or pull requests

1 participant