Some checks failed
CI/CD Pipeline / Code Quality Checks (push) Successful in 3m16s
CI/CD Pipeline / Run Tests (push) Successful in 3m26s
CI/CD Pipeline / Telegram Notify Success (push) Failing after 1m29s
CI/CD Pipeline / Run Tests (pull_request) Successful in 1m44s
CI/CD Pipeline / Code Quality Checks (pull_request) Successful in 20m19s
CI/CD Pipeline / Telegram Notify Success (pull_request) Failing after 1m34s
37 lines
940 B
Python
37 lines
940 B
Python
"""URL конфигурация приложения exchange."""
|
|
|
|
from apps.exchange.views import (
|
|
ExchangeConnectionListCreateView,
|
|
ExchangeConnectionTestView,
|
|
ExchangeCopyDataView,
|
|
ExchangePeriodicTaskDetailView,
|
|
ExchangePeriodicTaskListCreateView,
|
|
)
|
|
from django.urls import path
|
|
|
|
app_name = "exchange"
|
|
|
|
exchange_urlpatterns = [
|
|
path(
|
|
"connections/", ExchangeConnectionListCreateView.as_view(), name="connections"
|
|
),
|
|
path(
|
|
"connections/test/",
|
|
ExchangeConnectionTestView.as_view(),
|
|
name="connections-test",
|
|
),
|
|
path("copy/", ExchangeCopyDataView.as_view(), name="copy"),
|
|
path(
|
|
"periodic-tasks/",
|
|
ExchangePeriodicTaskListCreateView.as_view(),
|
|
name="periodic-tasks",
|
|
),
|
|
path(
|
|
"periodic-tasks/<int:task_id>/",
|
|
ExchangePeriodicTaskDetailView.as_view(),
|
|
name="periodic-task-detail",
|
|
),
|
|
]
|
|
|
|
urlpatterns = []
|