expephalon/core/urls/backend/clients.py
Klaus-Uwe Mitterer 2e8bbdd8a7 A lot of new views
Color picker fields
Renamed pixel.png in order not to upset uBlock...
2020-06-02 17:58:20 +02:00

10 lines
No EOL
547 B
Python

from django.urls import path
from core.views.backend.profiles import ClientListView, ClientDeleteView, ClientEditView, ClientCreateView
urlpatterns = []
urlpatterns.append(path('admin/clients/', ClientListView.as_view(), name="clients"))
urlpatterns.append(path("admin/clients/<pk>/delete/", ClientDeleteView.as_view(), name="clients_delete"))
urlpatterns.append(path("admin/clients/<pk>/edit/", ClientEditView.as_view(), name="clients_edit"))
urlpatterns.append(path("admin/clients/create/", ClientCreateView.as_view(), name="clients_create"))