aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Dennis Pham <[email protected]>2020-12-13 13:26:46 -0500
committerGravatar GitHub <[email protected]>2020-12-13 13:26:46 -0500
commita2992d904d60f66a05be9e120444b54e5d41e21a (patch)
tree409bf1c443686b9c8174e24975b9a8b747fc7b5b
parentMerge pull request #435 from python-discord/hotfix/lemon/front-page-project-s... (diff)
parentIncrease per_page to 100 for GitHub API call. (diff)
Merge pull request #437 from python-discord/bugfix/lemon/snekbox-not-showing-on-front-page
Increase per_page to 100 for GitHub API call.
-rw-r--r--pydis_site/apps/home/views/home.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pydis_site/apps/home/views/home.py b/pydis_site/apps/home/views/home.py
index 97253a0c..0e5d4edf 100644
--- a/pydis_site/apps/home/views/home.py
+++ b/pydis_site/apps/home/views/home.py
@@ -16,7 +16,7 @@ log = logging.getLogger(__name__)
class HomeView(View):
"""The main landing page for the website."""
- github_api = "https://api.github.com/users/python-discord/repos"
+ github_api = "https://api.github.com/users/python-discord/repos?per_page=100"
repository_cache_ttl = 3600
# Which of our GitHub repos should be displayed on the front page, and in which order?