fix(cof): also fix mailinglist captcha
This commit is contained in:
parent
e6930d3ebb
commit
65c483e935
1 changed files with 3 additions and 0 deletions
|
@ -1,12 +1,15 @@
|
|||
from django.shortcuts import render
|
||||
from django.views.decorators.clickjacking import xframe_options_sameorigin
|
||||
|
||||
from gestioncof.cms.forms import CaptchaForm
|
||||
|
||||
|
||||
@xframe_options_sameorigin
|
||||
def raw_calendar_view(request, year, month):
|
||||
return render(request, "cofcms/calendar_raw.html", {"month": month, "year": year})
|
||||
|
||||
|
||||
@xframe_options_sameorigin
|
||||
def sympa_captcha_form_view(request):
|
||||
if request.method == "POST":
|
||||
form = CaptchaForm(request.POST)
|
||||
|
|
Loading…
Add table
Reference in a new issue