Don't pass base to the comment preview template.
[matthijs/projects/xerxes.git] / influences / views.py
index fe062d553edfd64f56ca59e8a71c2366fec60f7f..35ee02ef921227f8faf626fb355ad031c8422440 100644 (file)
@@ -92,8 +92,6 @@ def influence_list(request):
 def influence_comment_preview(request, context_processors, extra_context, **kwargs):
     # Use a custom template
     kwargs['template'] = 'influences/influence_comment_preview.html'
-    # The base template to extend
-    extra_context['base'] = "influences/influence_detail.html"
     # The object to be show in the influence detail
     extra_context['object'] = get_object_or_404(Influence, pk=kwargs['object_id'])
     return _preview(request, context_processors, extra_context, **kwargs)