1
0
Fork 0
mirror of synced 2024-09-29 08:41:15 +13:00

fix missing stdout template var on /add when not rendering success page

This commit is contained in:
Nick Sweeting 2021-02-15 20:54:47 -05:00
parent b6d7c74680
commit a089136fea

View file

@ -253,6 +253,7 @@ class AddView(UserPassesTestMixin, FormView):
'absolute_add_path': self.request.build_absolute_uri(self.request.path), 'absolute_add_path': self.request.build_absolute_uri(self.request.path),
'VERSION': VERSION, 'VERSION': VERSION,
'FOOTER_INFO': FOOTER_INFO, 'FOOTER_INFO': FOOTER_INFO,
'stdout': '',
} }
def form_valid(self, form): def form_valid(self, form):