Changeset - 1c6e685ee4eb
[Not reviewed]
0 1 0
Bradley Kuhn (bkuhn) - 9 years ago 2015-03-04 23:31:05
bkuhn@ebb.org
Remove dead code, no longer needed.
1 file changed with 0 insertions and 12 deletions:
0 comments (0 inline, 0 general)
www/conservancy/apps/blog/views.py
Show inline comments
...
 
@@ -15,15 +15,6 @@ def OR_filter(field_name, objs):
 
def last_name(person):
 
    return person.formal_name.rpartition(' ')[2]
 

	
 
class BlogListView(ListView):
 
    extra_context = {}
 
    
 
    def get_context_data(self, **kwargs):
 
        context = super(BlogListView, self).get_context_data(**kwargs)
 
        # context['key'] = 'value'
 
        context.update(self.extra_context)
 
        return context
 
                                    
 
def custom_index(request, queryset, *args, **kwargs):
 
    """Blog list view that allows scrolling and also shows an index by
 
    year.
...
 
@@ -84,9 +75,6 @@ def custom_index(request, queryset, *args, **kwargs):
 

	
 
    return render_to_response('blog/entry_list.html', extra_context)
 

	
 
    callable = BlogListView.as_view(**kwargs)
 
    return callable(request)
 

	
 
def techblog_redirect(request):
 
    """Redirect from the old 'techblog' to the new blog
 
    """
0 comments (0 inline, 0 general)