diff options
author | 2022-02-19 17:57:18 +0000 | |
---|---|---|
committer | 2022-03-16 21:49:50 +0000 | |
commit | 30b7b4204b7e4b711960c952cccc15f667e2252f (patch) | |
tree | 8fe79ab476560d3d4531cd35f4eca677dfe044b1 /pydis_site/apps/api/urls.py | |
parent | Merge pull request #694 from camcaswell/role-update (diff) |
Move FilterList imports down so they're sorted
Diffstat (limited to 'pydis_site/apps/api/urls.py')
-rw-r--r-- | pydis_site/apps/api/urls.py | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/pydis_site/apps/api/urls.py b/pydis_site/apps/api/urls.py index 7c55fc92..6b881fac 100644 --- a/pydis_site/apps/api/urls.py +++ b/pydis_site/apps/api/urls.py @@ -21,8 +21,12 @@ from .viewsets import ( # https://www.django-rest-framework.org/api-guide/routers/#defaultrouter bot_router = DefaultRouter(trailing_slash=False) bot_router.register( - 'filter-lists', - FilterListViewSet + "aoc-account-links", + AocAccountLinkViewSet +) +bot_router.register( + "aoc-completionist-blocks", + AocCompletionistBlockViewSet ) bot_router.register( 'bot-settings', @@ -37,12 +41,8 @@ bot_router.register( DocumentationLinkViewSet ) bot_router.register( - "aoc-account-links", - AocAccountLinkViewSet -) -bot_router.register( - "aoc-completionist-blocks", - AocCompletionistBlockViewSet + 'filter-lists', + FilterListViewSet ) bot_router.register( 'infractions', |