This repository has been archived on 2025-02-01. You can view files and clone it, but cannot push or open issues or pull requests.
django-stock/tea/urls.py

9 lines
207 B
Python

from django.urls import path
from . import views
app_name = 'tea'
urlpatterns = [
path('', views.IndexView.as_view(), name='index'),
path('<int:pk>/', views.DetailView.as_view(), name='detail'),
]