added test for comments

This commit is contained in:
vabene1111
2020-04-27 17:48:11 +02:00
parent c7b1b08516
commit a9fe821067
2 changed files with 50 additions and 1 deletions

View File

@ -217,7 +217,7 @@ def edit_storage(request, pk):
pseudo_instance.token = '__NO__CHANGE__'
form = StorageForm(instance=pseudo_instance)
return render(request, 'generic/edit_template.html', {'form': form})
return render(request, 'generic/edit_template.html', {'form': form, 'title': _('Storage')})
class CommentUpdate(OwnerRequiredMixin, UpdateView):