aboutsummaryrefslogtreecommitdiffstats
path: root/pydis_site/apps/api/urls.py
diff options
context:
space:
mode:
authorGravatar Leon Sandøy <[email protected]>2020-07-16 20:48:56 +0200
committerGravatar Leon Sandøy <[email protected]>2020-07-16 20:48:56 +0200
commit76cd687715e49cee97bac24f5d3c8ca40ffca099 (patch)
tree604996943856e6253d2514194a29bb4d620967fd /pydis_site/apps/api/urls.py
parentFix some broken tests. (diff)
Rename AllowList to AllowDenyList.
https://github.com/python-discord/site/issues/305
Diffstat (limited to 'pydis_site/apps/api/urls.py')
-rw-r--r--pydis_site/apps/api/urls.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/pydis_site/apps/api/urls.py b/pydis_site/apps/api/urls.py
index bf41f09f..b6ed2914 100644
--- a/pydis_site/apps/api/urls.py
+++ b/pydis_site/apps/api/urls.py
@@ -3,7 +3,7 @@ from rest_framework.routers import DefaultRouter
from .views import HealthcheckView, RulesView
from .viewsets import (
- AllowListViewSet,
+ AllowDenyListViewSet,
BotSettingViewSet,
DeletedMessageViewSet,
DocumentationLinkViewSet,
@@ -22,8 +22,8 @@ from .viewsets import (
# http://www.django-rest-framework.org/api-guide/routers/#defaultrouter
bot_router = DefaultRouter(trailing_slash=False)
bot_router.register(
- 'allowlists',
- AllowListViewSet
+ 'allow_deny_lists',
+ AllowDenyListViewSet
)
bot_router.register(
'bot-settings',