mirror of
https://git.v0id.ovh/n3wt-innov/n3wt-school.git
synced 2026-01-28 23:43:22 +00:00
7 lines
348 B
Python
7 lines
348 B
Python
from django.urls import path, re_path
|
|
from .views import EstablishmentListCreateView, EstablishmentDetailView
|
|
|
|
urlpatterns = [
|
|
re_path(r'^establishments$', EstablishmentListCreateView.as_view(), name='establishment_list_create'),
|
|
re_path(r'^establishments/(?P<id>[0-9]+)$', EstablishmentDetailView.as_view(), name="establishment_detail"),
|
|
] |