Opened 2 years ago

Closed 2 years ago

#20706 closed Uncategorized (invalid)

Problem with Comments Installed_apps

Reported by: jesikmin@… Owned by: nobody
Component: contrib.comments Version: 1.5
Severity: Release blocker Keywords:
Cc: jesikmin@… Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

Hi, I'm trying to use django.contrib.comments app.

However, I just used {% render_comment_form for post %} this, the 403 Forbidden error

Forbidden (403)
CSRF verification failed. Request aborted.

is keep appearing.

I checked that 'django.middleware.csrf.CsrfViewMiddleware', is also in my settings.py.

What is the error?

Attachments (1)

myblog.zip (19.4 KB) - added by anonymous 2 years ago.
It's my current file. It's not complicated or huge.

Download all attachments as: .zip

Change History (2)

Changed 2 years ago by anonymous

It's my current file. It's not complicated or huge.

comment:1 Changed 2 years ago by lukeplant

  • Needs documentation unset
  • Needs tests unset
  • Patch needs improvement unset
  • Resolution set to invalid
  • Status changed from new to closed

Please see TicketClosingReasons/UseSupportChannels
Thanks!
(BTW: my guess is your comment form does not use {% csrf_token %})

Note: See TracTickets for help on using tickets.
Back to Top