Skip to content

Commit

Permalink
fix: consolidate urls
Browse files Browse the repository at this point in the history
  • Loading branch information
dragonejt committed Jul 27, 2024
1 parent 74aecb1 commit ce5cb4c
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 18 deletions.
7 changes: 0 additions & 7 deletions dominator/urls.py

This file was deleted.

8 changes: 0 additions & 8 deletions psychopass/urls.py

This file was deleted.

11 changes: 8 additions & 3 deletions sibyl/urls.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,17 +15,22 @@
"""

from django.contrib import admin
from django.urls import path, include
from django.urls import path
from django.views.generic import TemplateView
from rest_framework.schemas import get_schema_view
from rest_framework.permissions import AllowAny
from community.views import CommunityView
from psychopass.views import UserPsychoPassView, CommunityPsychoPassView, ingest_message
from dominator.views import MessageDominatorView, MemberDominatorView

urlpatterns = [
path("admin/", admin.site.urls),
path("community", CommunityView.as_view()),
path("psychopass/", include("psychopass.urls")),
path("dominator/", include("dominator.urls")),
path("psychopass/user", UserPsychoPassView.as_view()),
path("psychopass/community", CommunityPsychoPassView.as_view()),
path("psychopass/message", ingest_message),
path("dominator/message", MessageDominatorView.as_view()),
path("dominator/member", MemberDominatorView.as_view()),
path(
"sibyl-schema.yml",
get_schema_view(
Expand Down

0 comments on commit ce5cb4c

Please sign in to comment.