Ability to disable cache storage

This commit is contained in:
Yohann D'ANELLO 2020-02-21 18:28:21 +01:00
parent c64347def7
commit 3fd99ebac7
3 changed files with 11 additions and 0 deletions

View file

@ -249,6 +249,9 @@ class ClubAddMemberView(LoginRequiredMixin, CreateView):
context = super().get_context_data(**kwargs)
context['formset'] = MemberFormSet()
context['helper'] = FormSetHelper()
context['no_cache'] = True
return context
def post(self, request, *args, **kwargs):