# HG changeset patch # User durandn # Date 1481295591 -3600 # Node ID e7efb09366404ff1d7bee8925fa147075eb659d1 # Parent 71a25549001d4df8ba52680528cec1b3a5980f34 Forgotten views change diff -r 71a25549001d -r e7efb0936640 src/iconolab/views/objects.py --- a/src/iconolab/views/objects.py Fri Dec 09 15:51:28 2016 +0100 +++ b/src/iconolab/views/objects.py Fri Dec 09 15:59:51 2016 +0100 @@ -23,6 +23,7 @@ context = {} context['collections_primary'] = Collection.objects.filter(show_image_on_home=True).all() context['collections_secondary'] = Collection.objects.filter(show_image_on_home=False).all() + context['homepage'] = True return render(request, 'iconolab/home.html', context) class TestView(View): @@ -400,7 +401,6 @@ annotation.stats.save() return render(request, 'iconolab/detail_annotation.html', context) - class EditAnnotationView(View, ContextMixin, IconolabObjectView): def get_context_data(self, **kwargs):