From ab8055b5cab2523d925f59c65bc38df103a26991 Mon Sep 17 00:00:00 2001 From: luxagraf Date: Wed, 2 Dec 2020 15:02:12 -0500 Subject: deleted old apps and media --- app/unused_apps/figments/views.py | 42 --------------------------------------- 1 file changed, 42 deletions(-) delete mode 100644 app/unused_apps/figments/views.py (limited to 'app/unused_apps/figments/views.py') diff --git a/app/unused_apps/figments/views.py b/app/unused_apps/figments/views.py deleted file mode 100644 index 6521c29..0000000 --- a/app/unused_apps/figments/views.py +++ /dev/null @@ -1,42 +0,0 @@ -from django.views.generic import ListView, DetailView -from django.contrib.syndication.views import Feed - -from .models import Figment, Series - - -class FigmentListView(ListView): - model = Figment - template_name = "archives/figments.html" - context_object_name = 'object_list' - - def get_queryset(self): - return Figment.objects.filter(status__exact=1).order_by('-pub_date') - - -class SeriesListView(ListView): - model = Series - template_name = "archives/figments_series.html" - context_object_name = 'object_list' - - -class FigmentDetailView(DetailView): - model = Figment - template_name = "details/figments.html" - - -class FigmentDetailViewTXT(FigmentDetailView): - template_name = "details/entry.txt" - - -class FigmentDetailViewAMP(FigmentDetailView): - template_name = "details/entry.amp" - - -class FigRSSFeedView(Feed): - title = "luxagraf figments: stories less literally true." - link = "/figments/" - description = "Latest postings to luxagraf.net/figments" - description_template = 'feeds/blog_description.html' - - def items(self): - return Figment.objects.filter(status__exact=1).order_by('-pub_date')[:10] -- cgit v1.2.3-70-g09d2