core: move tournament url
This commit is contained in:
parent
be43e45947
commit
35cd728b3c
@ -6,5 +6,6 @@ from .viewset import TournamentViewSet
|
||||
|
||||
urlpatterns = [
|
||||
path("<int:pk>", TournamentViewSet.as_view({"get": "retrieve"}), name="tournament_page"),
|
||||
re_path(r"search/(?P<state>\w*)", TournamentViewSet.as_view({"get": "list", "post": "create"}), name="tournaments"),
|
||||
path("", TournamentViewSet.as_view({"post": "create"}), name="tournament_page"),
|
||||
re_path(r"search/(?P<state>\w*)", TournamentViewSet.as_view({"get": "list", }), name="tournaments"),
|
||||
]
|
Loading…
Reference in New Issue
Block a user