Skip to content
Snippets Groups Projects
Unverified Commit a23cfda6 authored by David Ormsbee's avatar David Ormsbee Committed by GitHub
Browse files

Merge pull request #21402 from open-craft/paulo/disable_discussion_cache

Disable caching in forum home
parents 926a40de 708f32bf
No related branches found
Tags release-2021-03-23-15.07
No related merge requests found
......@@ -18,6 +18,7 @@ from django.template.loader import render_to_string
from django.urls import reverse
from django.utils.translation import get_language_bidi
from django.utils.translation import ugettext_lazy as _
from django.views.decorators.cache import cache_control
from django.views.decorators.csrf import ensure_csrf_cookie
from django.views.decorators.http import require_GET, require_http_methods
from edx_django_utils.monitoring import function_trace
......@@ -253,6 +254,7 @@ def inline_discussion(request, course_key, discussion_id):
})
@cache_control(no_cache=True, no_store=True, must_revalidate=True)
@login_required
@use_bulk_ops
def forum_form_discussion(request, course_key):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment