diff options
author | 2020-03-20 19:07:57 -0700 | |
---|---|---|
committer | 2020-03-21 11:08:12 -0700 | |
commit | e77259351da7f18a375aa9ce4801755efca6c65b (patch) | |
tree | 20044715ad97c3fdec64eee4a189acb59350f83d /pydis_site/apps | |
parent | Update to Django 3.0 (diff) |
Use basename instead of base_name with DRF router
base_name was deprecated in 3.9 and finally removed in 3.11.
Diffstat (limited to 'pydis_site/apps')
-rw-r--r-- | pydis_site/apps/api/urls.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pydis_site/apps/api/urls.py b/pydis_site/apps/api/urls.py index 4a0281b4..3bb5198e 100644 --- a/pydis_site/apps/api/urls.py +++ b/pydis_site/apps/api/urls.py @@ -41,7 +41,7 @@ bot_router.register( bot_router.register( 'off-topic-channel-names', OffTopicChannelNameViewSet, - base_name='offtopicchannelname' + basename='offtopicchannelname' ) bot_router.register( 'reminders', |