fix: include urls for project views

This commit is contained in:
pablohashescobar 2022-12-13 23:32:10 +05:30
parent c99eb494c8
commit 7613cc52a6
2 changed files with 7 additions and 0 deletions

View File

@ -54,6 +54,7 @@ from plane.api.views import (
ProjectJoinEndpoint, ProjectJoinEndpoint,
BulkDeleteIssuesEndpoint, BulkDeleteIssuesEndpoint,
BulkAssignIssuesToCycleEndpoint, BulkAssignIssuesToCycleEndpoint,
ProjectUserViewsEndpoint,
) )
from plane.api.views.project import AddTeamToProjectEndpoint from plane.api.views.project import AddTeamToProjectEndpoint
@ -312,6 +313,11 @@ urlpatterns = [
), ),
name="project", name="project",
), ),
path(
"workspaces/<str:slug>/projects/<uuid:project_id>/project-views/",
ProjectUserViewsEndpoint.as_view(),
name="project-view",
),
# States # States
path( path(
"workspaces/<str:slug>/projects/<uuid:project_id>/states/", "workspaces/<str:slug>/projects/<uuid:project_id>/states/",

View File

@ -9,6 +9,7 @@ from .project import (
ProjectIdentifierEndpoint, ProjectIdentifierEndpoint,
AddMemberToProjectEndpoint, AddMemberToProjectEndpoint,
ProjectJoinEndpoint, ProjectJoinEndpoint,
ProjectUserViewsEndpoint,
) )
from .people import ( from .people import (
PeopleEndpoint, PeopleEndpoint,