diff options
author | luxagraf <sng@luxagraf> | 2021-01-30 17:41:42 -0500 |
---|---|---|
committer | luxagraf <sng@luxagraf> | 2021-01-30 17:41:42 -0500 |
commit | e36adb590425ee6fb15a03ef690b6a279c49250a (patch) | |
tree | 533ee7cd8cb26bcca8e7a69a639ec0aacb8d8c9c /app/taxonomy | |
parent | c7fee3786a0221fb3a7032491b0a2d512f0b27c4 (diff) |
views: cleaned up some view code and streamlined breadcrumbs
Diffstat (limited to 'app/taxonomy')
-rw-r--r-- | app/taxonomy/views.py | 6 |
1 files changed, 2 insertions, 4 deletions
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" |