diff options
Diffstat (limited to 'app/posts/views/src_views.py')
-rw-r--r-- | app/posts/views/src_views.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/posts/views/src_views.py b/app/posts/views/src_views.py index 90c672c..c56b723 100644 --- a/app/posts/views/src_views.py +++ b/app/posts/views/src_views.py @@ -6,7 +6,7 @@ from django.urls import reverse from django.conf import settings #from paypal.standard.forms import PayPalPaymentsForm -from utils.views import PaginatedListView +from utils.views import PaginatedListView, LuxDetailView from ..models import Post, PostType from taxonomy.models import Category @@ -27,7 +27,7 @@ class SrcListView(PaginatedListView): return context -class SrcDetailView(DetailView): +class SrcDetailView(LuxDetailView): model = Post slug_field = "slug" template_name="posts/src_detail.html" |