From e36adb590425ee6fb15a03ef690b6a279c49250a Mon Sep 17 00:00:00 2001 From: luxagraf Date: Sat, 30 Jan 2021 17:41:42 -0500 Subject: views: cleaned up some view code and streamlined breadcrumbs --- app/taxonomy/views.py | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'app/taxonomy') diff --git a/app/taxonomy/views.py b/app/taxonomy/views.py index 2d749ab..354234c 100644 --- a/app/taxonomy/views.py +++ b/app/taxonomy/views.py @@ -1,14 +1,12 @@ 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 +from utils.views import LuxDetailView -class CategoryDetailView(DetailView): +class CategoryDetailView(LuxDetailView): model = Category slug_field = "slug" -- cgit v1.2.3-70-g09d2