From bb3973ffb714c932e9ec6dd6a751228dc71fe1d3 Mon Sep 17 00:00:00 2001 From: lxf Date: Sat, 14 May 2022 16:38:07 -0400 Subject: initial commit --- app/taxonomy/views.py | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 app/taxonomy/views.py (limited to 'app/taxonomy/views.py') diff --git a/app/taxonomy/views.py b/app/taxonomy/views.py new file mode 100644 index 0000000..2d749ab --- /dev/null +++ b/app/taxonomy/views.py @@ -0,0 +1,14 @@ +from django.views.generic import ListView +from django.views.generic.detail import DetailView +from django.contrib.syndication.views import Feed +from django.urls import reverse +from django.conf import settings + +#from paypal.standard.forms import PayPalPaymentsForm + +from .models import Category + + +class CategoryDetailView(DetailView): + model = Category + slug_field = "slug" -- cgit v1.2.3-70-g09d2