mirror of
https://github.com/makeplane/plane
synced 2024-06-14 14:31:34 +00:00
d3c85b1336
* dev: new proxy api setup * dev: updated endpoints with serializers and structure * dev: external apis for cycles, modules and inbox issue * dev: order by for all the apis * dev: enable webhooks for external apis * dev: fields and expand for the apis * dev: move authentication to proxy middleware * dev: fix imports * dev: api serializer updates and paginator * dev: renamed api to app * dev: renamed proxy to api * dev: validation for project, issues, modules and cycles * dev: remove favourites from project apis * dev: states api * dev: rewrite the url endpoints * dev: exception handling for the apis * dev: merge updated structure * dev: remove attachment apis * dev: issue activities endpoints
27 lines
639 B
Python
27 lines
639 B
Python
"""plane URL Configuration
|
|
|
|
"""
|
|
|
|
from django.urls import path, include, re_path
|
|
from django.views.generic import TemplateView
|
|
|
|
from django.conf import settings
|
|
|
|
|
|
urlpatterns = [
|
|
path("", TemplateView.as_view(template_name="index.html")),
|
|
path("api/", include("plane.app.urls")),
|
|
path("api/public/", include("plane.space.urls")),
|
|
path("api/licenses/", include("plane.license.urls")),
|
|
path("api/v1/", include("plane.api.urls")),
|
|
path("", include("plane.web.urls")),
|
|
]
|
|
|
|
|
|
if settings.DEBUG:
|
|
import debug_toolbar
|
|
|
|
urlpatterns = [
|
|
re_path(r"^__debug__/", include(debug_toolbar.urls)),
|
|
] + urlpatterns
|