Open hasanmdarif opened 3 years ago
Hey, You've done good work but writing such long code for something that can be done in 2-4 lines is not a good practice. I would recommend you to go through this and remove unwanted code - https://github.com/diyajaiswal11/Grocery-Task/blob/main/GroceryTask/groceries/views.py
Hey Diya please check the changes i have made. Let me know if it is matching your interest or not.
GitHub
Contribute to diyajaiswal11/Grocery-Task development by creating an account on GitHub.
Hey @diyajaiswal11 please review this pr:)
@hasanmdarif This can be done with just around 7-10 lines of code. You should not make changes to other files. Put up a new PR only with the code that is required for this functionality
Added pagination.py for quiz app
Closes: #29
I have added pagination for quiz app. used PageNumberPagination. You can type http://127.0.0.1:8000/quiz/question/array/?page_size=1 to see the changes. page_size can be any number you desire.
Please check the code and let me know if i need to improve it.
PS:- Kindly add relevant lebels for GSSOC'21 on issue #29