Skip to content

Commit

Permalink
core: urls: remove duplicate calls to maintainer endpoints
Browse files Browse the repository at this point in the history
Forgot to remove them during the migration
  • Loading branch information
ericswpark committed Jun 11, 2022
1 parent 56fc13e commit de73bf6
Showing 1 changed file with 1 addition and 25 deletions.
26 changes: 1 addition & 25 deletions core/urls.py
Original file line number Diff line number Diff line change
@@ -1,31 +1,7 @@
from django.urls import path

from .views import (
AdminStatisticsView,
BuildDeleteView,
DeviceDetailView,
MaintainerDashboardView,
build_enabled_status_modify,
)
from .views import AdminStatisticsView

urlpatterns = [
# Maintainers
path(
"maintainers/", MaintainerDashboardView.as_view(), name="maintainer_dashboard"
),
path(
"maintainers/device/<int:pk>/", DeviceDetailView.as_view(), name="device_detail"
),
path(
"maintainers/build/<int:pk>/enabled_status_modify/",
build_enabled_status_modify,
name="build_enabled_status_modify",
),
path(
"maintainers/build/<int:pk>/delete/",
BuildDeleteView.as_view(),
name="build_delete",
),
# Admins
path("admins/statistics/", AdminStatisticsView.as_view(), name="admin_statistics"),
]

0 comments on commit de73bf6

Please sign in to comment.