Skip to content
Snippets Groups Projects

Turbolinks

Merged ynerant requested to merge turbolinks into master
1 file
+ 2
2
Compare changes
  • Side-by-side
  • Inline
+ 2
2
@@ -140,6 +140,8 @@ class ConsoView(LoginRequiredMixin, CreateView):
context = super().get_context_data(**kwargs)
context['template_types'] = TransactionCategory.objects.all()
context['no_cache'] = True
if 'template_type' not in self.kwargs.keys():
return context
@@ -149,8 +151,6 @@ class ConsoView(LoginRequiredMixin, CreateView):
template_type=template_type)
context['title'] = template_type
context['no_cache'] = True
return context
def get_success_url(self):
Loading