aboutsummaryrefslogtreecommitdiffstats
path: root/pydis_site/apps/api/urls.py
diff options
context:
space:
mode:
authorGravatar D0rs4n <[email protected]>2022-03-11 18:52:27 +0100
committerGravatar GitHub <[email protected]>2022-03-11 18:52:27 +0100
commit48550ac2899b294486dc807ccdc66b4a8fd65af7 (patch)
treecbdf524ea9a9d995104e3758659245f26a29e39f /pydis_site/apps/api/urls.py
parentMerge pull request #688 from python-discord/joe-said-"we-dont-do-main-pushes-... (diff)
parentMerge branch 'main' into pr/aoc (diff)
Merge pull request #689 from python-discord/pr/aoc
Add support for storing AoC related data in site
Diffstat (limited to 'pydis_site/apps/api/urls.py')
-rw-r--r--pydis_site/apps/api/urls.py10
1 files changed, 10 insertions, 0 deletions
diff --git a/pydis_site/apps/api/urls.py b/pydis_site/apps/api/urls.py
index b0ab545b..7c55fc92 100644
--- a/pydis_site/apps/api/urls.py
+++ b/pydis_site/apps/api/urls.py
@@ -3,6 +3,8 @@ from rest_framework.routers import DefaultRouter
from .views import HealthcheckView, RulesView
from .viewsets import (
+ AocAccountLinkViewSet,
+ AocCompletionistBlockViewSet,
BotSettingViewSet,
DeletedMessageViewSet,
DocumentationLinkViewSet,
@@ -35,6 +37,14 @@ bot_router.register(
DocumentationLinkViewSet
)
bot_router.register(
+ "aoc-account-links",
+ AocAccountLinkViewSet
+)
+bot_router.register(
+ "aoc-completionist-blocks",
+ AocCompletionistBlockViewSet
+)
+bot_router.register(
'infractions',
InfractionViewSet
)