Skip to content

Commit

Permalink
euth_wagtail/urls: remove QuestionRouter and VoteViewSet after refact…
Browse files Browse the repository at this point in the history
…or in A4
  • Loading branch information
rine committed Jun 14, 2022
1 parent 2ef8f0f commit 83693cc
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions euth_wagtail/urls.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,6 @@
from adhocracy4.api import routers as a4routers
from adhocracy4.comments_async.api import CommentViewSet
from adhocracy4.polls.api import PollViewSet
from adhocracy4.polls.api import VoteViewSet
from adhocracy4.polls.routers import QuestionDefaultRouter
from adhocracy4.ratings.api import RatingViewSet
from adhocracy4.reports.api import ReportViewSet
from euth.accounts import urls as accounts_urls
Expand Down Expand Up @@ -53,9 +51,6 @@
router.register(r'projects', ProjectViewSet, basename='projects')
router.register(r'users', UserViewSet, basename='users')

question_router = QuestionDefaultRouter()
question_router.register(r'vote', VoteViewSet, basename='vote')

ct_router = a4routers.ContentTypeDefaultRouter()
ct_router.register(r'comments', CommentViewSet, basename='comments')
ct_router.register(r'ratings', RatingViewSet, basename='ratings')
Expand All @@ -76,7 +71,6 @@
path('api/', include(router.urls)),
path('api/', include(ct_router.urls)),
path('api/', include(module_router.urls)),
path('api/', include(question_router.urls)),
path('upload/', login_required(ck_views.upload), name='ckeditor_upload'),
path('browse/',
never_cache(login_required(ck_views.browse)), name='ckeditor_browse'),
Expand Down

0 comments on commit 83693cc

Please sign in to comment.